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 (28530,44866,18427,17756,30135,44711,44689,39676,17237,17335,4686,18185,24438,30963,44640,13425,45180,44851,45515,44767,18172,5993,44836,37057,14622,17492,44739,5388,44674,18794,24441,17351,34194,44837,45043,18688,44768,44849,32454,24411,17755,44870,28313,45567,44894,44863,45177,17601,13988,44856,44669,45561,44853,18900,44854,17981,17904,17114,18279,45517,44762,18572,17092,6875,18894,10402,18981,44766,44868,19078)
Unknown column 'np.person' in 'where clause'