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 (44870,45346,45567,6862,44868,30135,45072,14622,39676,22509,18996,44836,17703,13922,24438,18719,18042,44775,13425,10402,44685,30986,17335,17835,28530,24441,36472,44669,17848,17904,45177,3883,18652,18172,44739,18427,17771,17755,31354,32454,45229,18894,44884,44765,45515,45262,44878,43800,44674,17351,37267,44849,44762,45561,9341,18650,44861,18688,16935,44835,5388,45051,44689,44856,6782,18446,17839,3,6609,4765)
Unknown column 'np.person' in 'where clause'