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 (16885,45177,44767,17601,45072,44835,45421,17904,18185,18430,17351,45042,45346,8753,18446,44894,44764,44866,39676,45567,44669,45043,44687,44851,45286,44856,44531,3883,18652,4765,4686,44837,44685,44671,18042,45229,19078,31354,44854,44868,18650,44674,17835,24438,45051,6862,18981,44711,18427,17335,17771,24411,5993,17092,43800,17839,5388,17756,17848,18719,45262,44766,18648,30963,18996,17009,44884,37267,18237,45180)
Unknown column 'np.person' in 'where clause'