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 (17335,17755,24411,18446,44855,13922,39676,32454,18981,28313,45421,45042,8753,44854,44858,45346,44687,5410,13988,28530,22509,17092,44878,18427,17114,44745,44836,44767,17527,19078,24438,44837,44870,45517,44669,18172,17904,18353,45229,44875,17492,16885,44849,44775,18301,44848,44640,44861,44866,37267,17237,13425,18279,44845,18185,45043,44869,24441,14402,5259,18688,18996,18286,44711,18652,44894,5388,18042,37057,44853)
Unknown column 'np.person' in 'where clause'