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 (17839,24438,16885,44711,24411,44869,28530,18900,5410,17835,37057,44849,17492,18446,14622,44894,18430,18042,4686,44762,17703,6875,18353,45262,10402,44767,17009,13988,31354,17755,45515,17904,44766,45042,17756,44835,44745,6782,44878,17556,18981,44855,18650,44531,3,18286,44687,44865,6609,44837,18996,44866,30986,44768,44671,44861,37267,5388,13425,45277,17335,17114,44884,45517,18794,44775,17351,17601,44765,3883)
Unknown column 'np.person' in 'where clause'