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,45277,18981,45515,8753,32454,44870,37057,44856,45346,44762,30986,17839,44865,34194,24411,44775,17556,18427,30135,44531,18301,44836,18279,44640,30963,44861,18648,45229,44768,13,28530,17981,45051,44878,44837,9341,44866,18996,44867,19078,18900,6609,17335,18894,6782,44687,17009,44894,5388,45516,45286,17904,17492,18237,17527,18446,44848,45043,17657,45042,44884,5993,44851,16885,17351,44858,14402,44765,44767)
Unknown column 'np.person' in 'where clause'