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 (44848,44671,44765,5410,17839,24411,44875,44640,30135,44768,18981,22509,44775,16885,44854,44669,32454,28313,8753,18430,45567,18719,24438,17114,44762,18185,30963,44745,44766,17904,44894,6609,17492,18286,17092,18172,44884,44858,13922,17981,17351,37057,45346,44711,45515,3883,44836,45518,44764,6782,45180,4765,45043,6862,45516,44869,17237,44853,45262,10402,9341,19078,17755,17848,24412,16935,36472,5993,18427,44855)
Unknown column 'np.person' in 'where clause'