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 (44765,44851,19057,45229,3883,44845,18996,17981,18353,13,44873,44531,17601,43800,44894,44685,3,5388,44865,18688,44869,45277,17771,17527,44671,44768,19078,13425,32454,17114,5993,17237,45346,45516,17848,44762,37057,44856,44766,44687,44868,9341,6609,24441,18237,44767,17904,5259,45567,22509,17492,18172,28530,45421,44866,17835,34194,37267,18301,17351,18650,8753,18794,13988,13922,44858,30135,44867,14622,44855)
Unknown column 'np.person' in 'where clause'