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 (44711,18648,44671,43800,18185,24412,18996,45517,3,45567,17114,18894,44894,17755,44861,17335,37267,17771,45515,18427,44775,17278,44766,45262,30135,8753,44878,44851,44863,45229,24438,44764,44855,44854,44640,18172,44767,24411,45346,45180,44858,30963,44835,44687,18688,17009,18446,44868,39676,44870,17556,44849,28313,44884,24441,6862,5993,17703,45518,18042,44869,14622,37057,17839,17904,44873,44867,17835,16885,44531)
Unknown column 'np.person' in 'where clause'