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 (44745,17981,44739,17278,18185,44878,17703,44851,44868,24411,44869,19078,18894,28313,44867,34194,44674,18719,45515,44866,4765,44711,18794,45518,44768,17492,45177,18648,44767,14402,17601,44762,32454,44845,18981,44685,44689,8753,17835,44873,30963,9341,6875,44766,45072,18572,18301,31354,44765,13922,10402,44849,24441,44853,18430,43800,18652,13,45421,36472,18650,5259,45517,44884,44775,17848,39676,18172,44837,17756)
Unknown column 'np.person' in 'where clause'