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 (36472,17848,30986,44669,18353,6782,6862,32454,44884,14622,19078,24441,10402,44861,45277,45515,45346,17237,44868,14402,18042,44873,44849,18650,17904,18279,18652,44866,17756,45177,8753,16935,5259,18286,18427,13,17527,17492,17657,45561,45043,17601,13988,19057,44745,30135,44855,5993,17839,44875,37057,4686,18794,13922,44870,6875,44854,17835,44869,3,28313,44767,44687,45518,45517,44739,44851,18981,44764,17114)
Unknown column 'np.person' in 'where clause'