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 (17755,18652,28530,17839,13988,44861,37267,24411,17981,13,45515,19078,17114,5993,45262,31354,17657,44855,30963,24412,10402,17351,44768,44894,45516,18794,45346,18042,18650,17835,44739,17904,44685,44869,44856,44845,22509,44851,18430,45567,43800,6782,30135,44867,18572,44865,17492,44884,18185,17278,13425,45043,44674,18279,13922,45421,44858,36472,18286,14402,44687,3,17601,44870,17335,44669,44765,17237,9341,44878)
Unknown column 'np.person' in 'where clause'