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 (17335,44873,18446,39676,24412,34194,17657,44867,5410,44854,44669,5993,44640,24411,18286,45515,45421,32454,8753,44875,18427,18719,17114,14402,17756,13988,3,44856,17981,45051,45561,6609,44861,45042,18996,17556,43800,17703,44711,6862,17237,44767,18353,44762,44739,44894,45517,16935,17771,44868,44745,44671,13922,44689,30135,28313,18172,24438,44855,44685,18430,45072,18650,18794,17351,44870,45277,45043,22509,13425)
Unknown column 'np.person' in 'where clause'