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,18172,18794,17756,18996,44868,45043,5388,18042,13988,30986,28313,8753,36472,18652,18688,6862,18430,45518,44848,5410,18279,45286,17237,44764,17492,24441,17981,44884,44894,18981,19057,45277,45180,13922,44869,44845,10402,4686,3,18301,44674,44851,37057,17848,18427,3883,17703,13,44767,6782,17335,18286,45515,39676,44878,5993,18185,16885,17114,44765,44768,17835,9341,44870,18572,24412,34194,43800,44745)
Unknown column 'np.person' in 'where clause'