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 (44856,5388,17335,17771,17755,5259,14622,37267,44767,44745,45051,18648,32454,44863,44851,17278,44685,17237,30963,44894,30986,44674,18794,44837,44836,44739,24441,28313,44711,17556,45177,44768,45421,6862,28530,18981,4686,45518,17114,24411,22509,44884,36472,18185,44878,45043,44865,45346,18353,18279,9341,3883,44875,18430,44867,16885,5410,44861,18996,17703,6609,18719,18042,13,45262,18286,44775,4765,45072,13922)
Unknown column 'np.person' in 'where clause'