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 (8753,18353,4686,44671,17527,18279,34194,44854,45517,17556,44848,30135,44873,32454,44640,5410,17657,14402,18427,17904,6862,45421,44866,44853,30986,18301,19078,13988,24412,16935,44762,44745,3,13425,45177,18572,39676,44767,18719,6782,45277,17703,17009,45042,16885,18446,13922,9341,18648,45515,5259,44669,44845,17771,14622,5993,28313,45229,18794,17981,45516,24438,45180,44870,24441,44894,18286,18185,44764,17839)
Unknown column 'np.person' in 'where clause'