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 (28313,9341,18688,18719,18353,3,18172,17756,45421,5388,30135,44866,44868,44767,16935,17278,45567,44863,45229,13,44849,18650,16885,24441,37267,30963,44858,24412,5410,18900,13922,17981,44894,44687,44835,45043,3883,44854,17848,44884,45042,6782,45177,24438,45286,10402,44711,39676,44765,44685,44671,44762,6862,44768,36472,44766,45516,17703,31354,44875,18981,22509,17755,44869,17092,5993,28530,18301,44878,17556)
Unknown column 'np.person' in 'where clause'