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 (44855,44835,24438,28313,16935,19078,44768,44775,45286,45277,45516,18353,44671,18794,18286,44640,14622,18652,44851,45042,19057,44764,24412,45051,31354,44689,44853,44875,6782,44884,13425,44858,44870,44849,44878,3883,45072,44865,45561,28530,44868,45515,17756,44685,13922,17904,18981,4686,37057,18185,44867,44869,17981,17848,18446,6609,45043,17527,45346,6862,22509,24411,17335,18996,45229,43800,44837,34194,17556,44866)
Unknown column 'np.person' in 'where clause'