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 (17755,17839,17756,45277,4765,44766,44858,17981,16935,44739,45346,18652,45043,17835,16885,44873,44669,18172,17556,44865,17092,45286,17601,5993,37057,6875,44878,17904,18185,45421,44866,44674,44854,44531,43800,18286,45516,28313,44685,45262,28530,18794,44869,30986,44851,24412,44767,45515,17492,18446,4686,17009,44835,44765,17237,44884,18981,8753,17114,45517,44894,17351,18353,44687,44863,6782,45177,5410,18572,3)
Unknown column 'np.person' in 'where clause'