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 (44711,10402,18652,24441,44866,44765,17335,44762,45262,44671,44837,44851,45042,18688,17009,45229,18650,39676,18794,4765,17835,17904,44687,45177,44766,16935,17556,44689,17839,24438,44768,17657,19078,16885,45567,6782,44870,18996,45051,18279,44853,22509,18237,45346,44640,30986,44858,14402,18172,17237,5410,17092,45518,13922,44767,44531,45072,17527,44835,45277,17756,17755,17703,6862,45286,44865,44861,18894,44854,44869)
Unknown column 'np.person' in 'where clause'