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 (44894,17981,44762,17703,45072,45286,10402,30135,18719,3,44669,28530,37267,30986,44875,5993,17848,45051,44848,13988,43800,18286,18996,5388,44739,17835,45262,44835,18794,45177,24411,18353,18301,18652,44855,6609,17009,44845,18172,28313,45277,18648,44867,44865,45042,17601,44671,44674,44878,44687,18894,44870,13,17114,18185,44856,44775,17492,44689,18446,17904,45517,44873,36472,18900,39676,16935,18042,17335,5410)
Unknown column 'np.person' in 'where clause'