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 (13988,44765,44845,44745,44894,45051,45346,18650,44855,17527,16885,18042,17703,37057,44640,3883,45516,9341,44870,8753,44854,44766,17092,43800,17237,45277,18572,36472,17904,24411,17492,44851,17351,44868,44878,45043,24438,18794,30135,17009,34194,44669,14402,44767,17756,44711,13,17335,45072,45517,45177,18301,4765,44739,18185,45262,45229,17771,5410,28313,44866,44875,16935,14622,45515,17657,45042,6875,17835,18996)
Unknown column 'np.person' in 'where clause'