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 (13922,44861,44765,3883,17092,13988,17335,30963,17848,17114,44875,17527,36472,45177,44685,17755,44865,17351,19057,45180,4686,18981,18353,18301,44640,45051,44873,44868,45043,18430,44851,31354,37267,18446,18650,44669,18237,44775,44853,17657,19078,44671,45346,18794,39676,28313,17601,13,30135,17237,37057,17839,44848,44878,45567,44870,44836,45262,44869,24412,18652,44863,17492,17278,6862,44762,17981,18185,3,18894)
Unknown column 'np.person' in 'where clause'