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 (17756,5410,44768,17904,6875,44837,44836,13,18301,17092,45043,28313,17835,13988,16935,17755,5259,18446,37057,17657,14622,43800,44640,3,30135,44854,18996,18894,34194,44858,44875,44765,22509,18430,37267,44867,18353,45177,44868,44671,44762,18688,17492,44861,45346,44739,18572,17556,18652,17009,44878,36472,44873,45518,44711,45262,18650,44853,30986,44775,5388,17237,45516,18237,18172,17335,44870,9341,28530,17527)
Unknown column 'np.person' in 'where clause'