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 (44768,17492,3,18794,44765,44855,44858,44685,45277,17278,17839,17904,45515,13922,32454,14402,45180,39676,44836,45286,6782,13425,8753,44878,37057,44894,30986,44669,24412,44853,14622,16885,17527,44849,44863,4686,17703,5259,18237,44861,44865,18353,24441,44640,17351,5993,36472,45421,44766,45346,34194,19057,44870,44867,6862,37267,18900,44674,18719,18286,18652,17335,45177,44851,18996,17755,18172,18042,45043,3883)
Unknown column 'np.person' in 'where clause'