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 (44848,45518,18996,36472,17657,5259,45051,18719,44767,44768,45277,4686,44855,31354,18301,18900,18981,18430,30963,39676,6875,44835,3,18652,17904,44745,44836,18185,18286,44867,17835,44868,44854,45516,5410,17527,44866,45561,44671,44739,17755,18648,22509,13988,44853,45286,6862,24441,6609,18688,24438,45262,18572,45229,44873,44870,44878,44849,28530,37057,44669,17114,18353,45515,44869,44775,45072,16935,44765,32454)
Unknown column 'np.person' in 'where clause'