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 (44762,45072,17703,44845,13,17556,17278,44837,6862,30963,18981,30135,34194,44858,18301,45518,36472,44851,13922,19057,13425,8753,28313,45051,18894,44875,3,45177,17601,45180,18279,6609,44853,17114,44711,45043,17848,44775,16935,44835,44894,9341,28530,18996,24412,44671,5388,45516,44861,44873,45286,44669,18185,4686,17237,44849,45515,45277,43800,18650,32454,45346,44870,18286,18652,18794,44884,3883,17492,17835)
Unknown column 'np.person' in 'where clause'