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 (44855,6875,44848,18572,9341,17009,32454,45277,17092,17335,45051,4765,45346,44775,18996,24438,18981,44873,17278,18353,44856,45262,16885,3883,45042,14402,44894,44868,43800,44531,17904,44837,45421,37057,17657,45043,13,45567,39676,19057,44687,17835,18042,18900,18427,31354,14622,18688,8753,44685,44674,18446,17839,24412,18894,10402,44861,44870,34194,17237,17527,44689,44762,3,44875,4686,44878,17351,18279,22509)
Unknown column 'np.person' in 'where clause'