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 (44856,17114,37057,18185,17703,18719,45561,6862,10402,44866,45567,17092,18572,30963,44766,44873,44884,44674,44858,19057,17771,45051,17981,18353,44870,44745,17904,22509,36472,18900,13425,30135,14622,17527,44869,45517,43800,39676,44762,45177,14402,18981,44689,44875,45286,44685,18688,4765,18446,44867,18286,45262,17839,3,28313,45516,37267,6782,17009,18996,6875,17351,18301,17237,44835,45180,45346,16885,44837,17755)
Unknown column 'np.person' in 'where clause'