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 (13922,44875,44640,14622,13988,44884,30135,17848,18279,17835,19078,44873,3883,44861,17703,45561,28313,44849,5388,45515,45277,16935,4765,44687,18237,30963,16885,17601,17904,45346,45042,18353,18042,17657,45229,45421,18650,44531,37267,44689,17755,18652,44766,45177,9341,31354,44866,28530,3,44869,44878,44867,45043,44851,18996,45072,18572,44765,37057,19057,6609,17237,17756,24412,44863,18900,24411,45286,44854,6782)
Unknown column 'np.person' in 'where clause'