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 (3,18427,45516,17755,44875,44768,6782,17771,18652,17981,32454,17657,44878,45286,30986,17601,44845,9341,13,44687,24441,44765,17839,44894,6875,14402,44853,45180,16935,44866,19078,45042,17848,17904,17114,44884,44671,5259,17556,17756,16885,18719,18572,37267,24412,18172,44856,45421,18237,44531,44669,22509,18185,17703,17278,19057,17237,17835,45072,44775,45517,44861,44835,44854,44764,13988,45277,18042,8753,34194)
Unknown column 'np.person' in 'where clause'