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 (44671,44849,30963,30986,8753,18185,13922,44854,17556,44870,44836,44845,36472,6609,17835,44739,44878,18279,24438,18719,45346,45042,45177,4765,18996,22509,45043,17657,18688,18572,17009,44711,18794,3883,45518,6862,5410,6875,44856,44835,18172,16935,44875,45051,45229,44868,17237,18650,44765,17114,45277,44861,14622,44858,45180,18446,19078,45286,45567,18652,44853,44837,18042,17839,18900,45561,44640,17527,44768,44762)
Unknown column 'np.person' in 'where clause'