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 (44762,44884,44775,18430,45286,44765,30986,44861,36472,10402,17237,28530,45516,17904,37057,44640,18286,45180,18981,44870,37267,13922,45229,44674,5410,44849,6875,6782,44868,16885,44711,18572,44764,17556,45515,24441,18648,34194,44858,18237,18894,32454,17835,44745,16935,17527,17839,45421,44873,5259,45043,28313,17756,17092,17351,18185,45518,17601,31354,44866,45346,24412,6609,44531,24411,44836,18794,18650,44851,18719)
Unknown column 'np.person' in 'where clause'