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 (45515,9341,5410,14622,44767,17755,17703,3,24441,44711,16935,44861,31354,44867,24438,18172,22509,44640,17848,45051,5259,17492,5388,17009,44884,37267,28530,45567,32454,17527,45346,44849,18648,3883,18719,6782,45262,45286,17335,44836,44866,17904,18981,44854,45042,45561,44865,18652,19078,44835,44775,44671,24411,18430,4765,44837,6609,13988,44765,5993,17351,44762,17771,13,18237,18572,44687,44766,45180,17839)
Unknown column 'np.person' in 'where clause'