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 (9341,44685,44836,45072,6875,17756,28313,5993,17492,18652,5410,4686,44767,18688,17839,18996,44640,19078,45051,5259,24441,45346,17009,44711,44531,44849,44863,39676,17657,44858,5388,37057,34194,44739,36472,17237,17904,44745,24412,18427,44866,44687,44851,16885,44848,18279,8753,6782,17114,44865,45561,17981,44766,18185,45515,45177,43800,18981,18794,18430,45043,18172,17848,30963,45517,18650,44875,16935,24438,44845)
Unknown column 'np.person' in 'where clause'