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 (4765,44687,13922,44640,5388,19078,44858,3,44768,8753,44851,17981,10402,17237,44867,18981,18650,17351,17601,44711,18237,17492,44689,36472,30963,28313,18996,44767,45421,44869,44878,44863,17556,18279,18894,44745,18301,45286,18172,18719,45043,44865,44894,44855,37267,45561,14402,17009,9341,44762,44866,18427,17114,45262,6875,16935,13,24441,18572,17755,17904,18042,44849,44868,44765,34194,18652,16885,44674,17092)
Unknown column 'np.person' in 'where clause'