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 (44878,16885,18301,43800,45517,44687,17657,44674,4765,45051,44845,18981,18652,17237,18900,44531,6862,31354,18648,13425,17351,17904,45042,44856,44851,45286,44671,8753,44875,24441,44870,17492,37057,18719,19078,19057,17703,44685,44669,44766,28313,18042,30986,45180,44873,17848,17835,45561,18430,44884,24411,44689,32454,37267,45262,45177,44640,44768,34194,4686,44853,18794,45515,44849,17335,18688,18572,44861,44855,17556)
Unknown column 'np.person' in 'where clause'