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 (45072,45180,44856,17278,13425,17981,3883,43800,44768,44764,17351,44875,45561,5993,44711,18301,17657,18648,17835,5388,19057,36472,44866,17703,18279,19078,17601,18172,44863,18894,16885,44868,18427,31354,44878,44745,22509,17848,44685,45229,17237,44739,28313,44775,17092,44853,45043,44894,14402,44849,44869,30986,18996,45051,45518,32454,17904,18185,8753,45517,18652,17114,44835,24441,18719,6609,44865,45286,17492,44848)
Unknown column 'np.person' in 'where clause'