Error in query: SELECT DISTINCT(np.person) AS person, p.first_name, p.last_name, AS news_id FROM news_person AS np, person AS p, news_category AS nc LEFT JOIN news AS nx ON = (SELECT FROM news AS ny, news_person AS nyp, news_category AS nyc WHERE = AND nyc.category = 310 AND nyp.person = np.person AND = AND = AND ny.entry_active = 't' ORDER BY entry_date DESC LIMIT 0, 1) WHERE np.person = AND nc.category = 310 AND = AND np.person = AND IN (6875,44865,44745,13,17114,45229,30963,44858,44849,18353,30986,44762,5410,17839,13425,18279,17755,9341,17092,17703,5993,45286,14402,10402,17771,17527,44768,44531,18652,18237,16885,18719,13988,44853,44689,44767,18981,45180,37267,44875,44835,44868,17981,19078,24438,32454,45177,45042,5388,45561,36472,18894,3,44863,45518,28530,17492,6782,19057,28313,44854,44764,18650,17556,3883,18996,44739,45515,17335,44848)
Unknown column 'np.person' in 'where clause'