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 (44861,17278,34194,44711,45177,17556,16935,17601,44870,24438,44867,37267,44687,45180,24412,18652,45286,13922,44531,17848,18301,45277,44853,44671,18185,18900,44858,4765,44851,45072,45262,17237,17657,44685,44762,17335,45043,44854,44739,18650,44849,36472,28530,5388,17092,13988,6782,17492,44766,17703,19057,44835,17755,44674,44873,24441,37057,18981,18794,17009,44845,44775,44765,44878,45515,17981,32454,6862,18446,17904)
Unknown column 'np.person' in 'where clause'