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 (16885,13922,24441,44531,17835,45518,9341,18427,44669,44865,3883,8753,32454,6875,31354,44745,6609,34194,30986,44845,44875,44884,18900,44674,5259,17981,17237,44878,44739,45346,30963,17848,17351,4765,45517,17492,44870,14622,17527,5993,18172,17755,18688,17009,19057,28530,17771,28313,17335,24412,18572,45051,17092,44685,44640,19078,44767,18996,44689,45286,44894,17114,45043,18301,18648,45421,44765,18981,44856,17657)
Unknown column 'np.person' in 'where clause'