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 (5259,18572,8753,44868,10402,44640,18042,18353,5388,14402,45346,44674,44775,45286,44856,18446,44764,3,44873,44853,44855,45051,18430,44669,44767,44745,3883,44869,30963,45421,17114,44867,4765,17335,45277,18981,44685,6875,44858,34194,17092,30135,45262,44854,45043,18237,18427,44845,44894,37057,44870,5410,45180,18688,6782,37267,18652,45177,44884,16885,44836,44866,45515,18996,17492,17981,17848,45517,44765,28530)
Unknown column 'np.person' in 'where clause'