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 (34194,24411,44854,36472,18279,44870,17703,44685,44836,45277,44837,44835,39676,32454,18648,45346,18794,44853,18652,44878,28313,17556,5388,6862,18172,24441,44531,14402,37057,19078,45262,44689,44851,28530,13,45518,44845,17755,44745,45561,14622,5410,18353,37267,44875,13425,44856,17657,17237,45042,44687,13922,8753,44640,17756,3883,6782,45421,4686,44762,44866,18719,45072,3,4765,45516,17009,17835,45177,44868)
Unknown column 'np.person' in 'where clause'