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 (44762,19078,17756,45072,44531,44867,18172,3883,44865,17755,17771,45567,18042,45286,18286,45518,44875,4765,31354,18719,17835,18894,18185,45421,17904,44863,17657,44856,28530,13988,6609,45042,18794,45561,43800,44674,45180,17848,14402,37057,18652,44767,18572,17981,24441,9341,44836,45229,17092,45277,17703,44689,37267,44775,5388,6875,44766,10402,44884,44858,5410,44671,13,44685,3,18900,44866,44640,18427,13922)
Unknown column 'np.person' in 'where clause'