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 (17756,44873,18301,44739,44674,18900,44685,44687,18996,37057,44766,3883,44853,45042,18430,5259,39676,44640,44762,18279,18688,45346,45262,44767,45515,14622,34194,45286,44837,44775,18981,44870,44835,17114,44894,24411,45518,44764,44865,44868,44768,17556,18648,17771,17755,17848,44861,17335,18719,13,18353,17237,37267,13922,17009,44671,44866,45561,30986,44869,45421,45043,44849,17835,18185,6782,18172,44858,24441,28530)
Unknown column 'np.person' in 'where clause'