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 (44856,18652,13,45072,45229,44766,32454,5993,44762,19057,44837,9341,44687,44685,44739,30135,17492,16885,18301,5410,45262,44689,18286,44866,4686,17237,45180,39676,44669,24412,18996,44836,44863,45286,3,17601,44854,18427,44861,17771,22509,37057,44865,18900,45051,31354,18719,6875,44764,13988,5388,45421,28313,17527,45515,17278,24438,6609,44765,18688,44671,44775,17981,18981,44867,45043,44873,13922,45042,24441)
Unknown column 'np.person' in 'where clause'