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 (16935,14622,18650,34194,17771,30986,44765,37057,18301,44745,44848,5259,44768,24438,17009,17601,17237,44870,37267,17981,24412,45421,45346,44855,45561,44894,44689,18996,3883,44767,5410,44766,44858,17848,36472,44762,44836,44845,31354,6609,14402,8753,17278,13425,44875,44861,24411,16885,18353,44671,17114,44764,44837,44685,18719,45042,13988,17351,24441,5388,18279,44849,18185,45229,6862,17527,18794,17335,44867,32454)
Unknown column 'np.person' in 'where clause'