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,44865,6862,45346,44836,44674,18237,17527,44835,44856,14622,44854,6875,9341,28313,45277,44868,44867,45177,18981,17703,13922,44640,32454,45515,17556,13,5259,44869,18172,18648,14402,44765,17601,44766,8753,3,44689,16885,44848,13425,44764,37057,44849,17771,45042,5388,18430,44858,18996,24441,45072,44775,17981,18572,37267,24412,19057,44711,45518,17351,44894,44863,17848,18719,18652,44873,17835,44767,44853)
Unknown column 'np.person' in 'where clause'