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 (44873,13,44854,6875,17848,18279,45346,45229,17009,44669,17556,44870,4686,44766,45516,18900,17839,45286,18172,18719,13425,44775,44861,44853,45262,17114,16885,32454,44837,44875,30963,44685,44858,18286,44856,18572,36472,44866,44884,24412,17703,44851,17527,44868,19078,45567,17756,45072,44865,45421,44869,17981,44863,44674,8753,13922,17904,17492,24411,44855,17237,37267,44739,39676,44867,44689,6782,30135,5410,5259)
Unknown column 'np.person' in 'where clause'