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 (28313,18446,18353,4765,44868,44851,45516,14622,8753,44689,45277,18301,44866,17556,28530,17114,17351,45042,37267,43800,44768,19078,18688,45561,17756,3,17657,45180,32454,44894,44745,44848,18719,3883,45346,18996,44861,18427,18794,5410,44867,45517,44863,17981,44854,39676,17237,13988,9341,45051,37057,44640,44873,18430,45567,45262,44870,45072,31354,17527,22509,44869,44671,44875,44836,45229,13922,18981,13,44853)
Unknown column 'np.person' in 'where clause'