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 (44835,45518,31354,19078,44855,45180,17981,44878,44739,17351,4686,44836,45567,44869,45277,44849,18688,18648,44854,44711,45229,18430,18981,13988,30135,18172,44685,24438,18996,45346,18237,18353,44851,28313,28530,44762,8753,5410,44687,30986,17835,18794,5259,44531,17755,13922,3883,45051,44837,17657,34194,37057,24441,5388,14402,44856,4765,43800,17492,44870,44873,44867,24411,44866,30963,44894,18185,16885,44671,45516)
Unknown column 'np.person' in 'where clause'