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 (44869,44858,17771,17981,17657,44765,44711,18981,45229,45277,10402,17835,19057,18279,13,13922,18446,17839,18996,45043,18237,17335,16935,45421,17601,44768,17278,18185,14402,44894,44764,44865,44851,45177,17092,18572,17556,34194,17351,5259,32454,17527,13425,17009,45346,44870,30963,44687,17848,18172,19078,17756,18430,4686,17237,31354,44689,6609,18427,5388,44767,44866,44873,6875,44685,17755,44868,24441,44745,45180)
Unknown column 'np.person' in 'where clause'