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 (13,45515,5259,18650,36472,17527,45072,44739,17755,44870,18900,19057,44851,28530,18688,34194,24411,17492,18286,44687,44765,13922,45516,19078,44861,44766,44858,22509,45561,17351,24412,17848,44856,44711,44671,44745,44867,45346,17237,44762,17756,44849,13988,17009,44868,17703,24441,45277,44775,44866,18981,44894,44837,18719,30135,18648,18427,13425,17114,18353,45518,17556,44640,45043,18279,44884,14622,10402,18996,17835)
Unknown column 'np.person' in 'where clause'