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 (44837,44856,44870,32454,39676,18237,45518,17981,18446,18427,3883,44671,19057,44851,3,44861,5410,17756,24412,45277,44848,18042,6875,44858,44685,45561,44873,18981,17771,4765,18794,44669,45072,10402,17492,28530,45180,45177,17351,37267,44855,44762,18185,24411,17755,45043,17114,18688,44875,45286,45262,14622,44853,18172,45516,16885,6782,44849,18572,18900,45346,18719,16935,19078,18652,13922,44766,17527,44869,44739)
Unknown column 'np.person' in 'where clause'