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 (9341,44767,44768,44866,17351,4686,17492,6782,5993,28313,3,18430,44878,24441,44873,44867,17237,28530,18427,17981,18353,13988,17657,44865,45051,44775,30986,18900,44835,18650,17835,44853,45043,44762,6609,36472,17009,45561,45177,44689,17335,44711,44837,45517,18996,43800,45229,44739,44869,6862,19057,18301,44868,37057,45042,16885,18286,44669,3883,45180,45286,5388,44894,18279,44855,5410,44854,44870,45421,14402)
Unknown column 'np.person' in 'where clause'