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 (44884,6862,44867,10402,44861,44687,18301,45051,44855,28313,18719,17657,18353,4686,30135,44711,24441,44766,36472,17771,45277,44689,44856,44671,3883,44866,6609,18688,5259,45567,17981,45517,18981,13988,13,44745,17335,18286,44835,44878,17237,44858,4765,43800,45286,45561,18430,18650,45518,6875,44865,37267,17839,44869,44685,5388,18648,5993,44853,24438,17278,45177,18996,44849,17601,18172,13425,17114,45072,44739)
Unknown column 'np.person' in 'where clause'