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 (44853,44739,18301,13988,18996,18719,6875,44867,45421,17009,44868,44851,17527,17839,24411,45051,44873,45518,45516,18688,45515,17601,45177,18894,30986,45043,45517,18286,17278,24441,17904,18353,5388,44689,44671,44858,30135,44848,44869,44745,44711,45262,45042,39676,18430,18572,8753,44765,17335,44870,44531,44640,45277,44845,44894,17351,13922,44878,44866,24412,5259,18650,17981,5410,44685,44768,17237,19078,17492,9341)
Unknown column 'np.person' in 'where clause'