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 (13425,16885,44674,45567,44894,45518,8753,17835,17351,18301,19078,17092,4686,17492,17237,30963,5259,18648,17981,45072,44765,44870,18446,44866,17601,45515,39676,44531,44836,18286,6862,17335,14402,17848,34194,44873,45042,18185,44768,45561,30135,17114,45229,44856,32454,44669,44861,18652,18996,45277,44762,45051,45421,44767,18894,18237,17756,17839,44848,5410,17556,24438,18172,5993,44855,13922,17527,44689,44671,44858)
Unknown column 'np.person' in 'where clause'