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 (44674,18446,30963,18648,8753,44853,24438,44711,5259,31354,45346,44861,6862,18427,17981,44671,45177,44762,16885,44767,45262,44685,39676,24412,18172,16935,17278,44875,44848,18900,17492,24411,37267,4686,44689,17839,30135,44868,45286,18981,17848,18237,44849,18572,44854,17703,44870,44766,18286,44894,5388,17904,45072,34194,44669,18042,44869,44739,9341,17009,18652,17556,44765,44835,44884,6609,45516,18794,17657,45518)
Unknown column 'np.person' in 'where clause'