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 (44853,30986,18894,45051,43800,5410,44739,17756,6875,44767,18185,44765,44869,44764,19078,17237,44766,32454,17492,44775,45517,44875,44858,17351,18353,18286,16935,24412,28313,44836,8753,44866,18650,44848,45042,17703,44870,18981,45421,18996,18172,17771,44768,24438,44689,44868,45177,45043,44849,17556,13922,18652,18446,14622,45072,17835,37057,18430,6862,44863,44640,44867,18648,18688,13425,3,45180,44762,44835,18427)
Unknown column 'np.person' in 'where clause'