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 (44837,24441,5259,44878,44775,44869,44894,17756,44875,17527,28313,30135,37267,45051,45042,18981,6875,17556,18572,17351,44767,45346,13,44854,44873,39676,44884,44764,17237,45262,24438,18185,5388,17114,44674,17771,18894,44851,6862,8753,18430,44689,17703,28530,30986,18996,17601,14402,18301,44861,44745,30963,17335,44863,44845,18427,18719,17009,44739,6782,18652,18237,17657,44867,45072,5993,44711,37057,9341,44671)
Unknown column 'np.person' in 'where clause'