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 (14402,6862,45516,45262,17114,3883,17839,44739,44845,17009,44870,32454,22509,19057,17335,18427,30135,18185,17756,44867,17556,13425,44685,45072,44869,18652,5993,45346,6875,5410,44873,18430,44671,45177,44762,36472,44745,3,17755,4686,44878,44764,18301,44689,37267,44856,45043,18286,44861,4765,17351,45042,45286,17835,17527,18353,28313,17848,45229,44848,44875,34194,44894,17237,44835,17703,45517,44768,24412,17278)
Unknown column 'np.person' in 'where clause'