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 (16885,10402,18286,17527,4686,18042,28313,44766,18185,30135,18900,44863,6609,44685,37267,45043,45072,44855,37057,44870,13988,14622,24441,5993,18279,45567,17601,32454,45517,44875,17237,45229,18301,13425,17703,45277,45346,18172,45051,30963,24412,18572,44671,6875,45515,44689,19057,18430,18237,17114,17756,18794,44531,44674,44849,5388,18427,44837,45421,18650,45286,17009,44764,17981,44762,3883,18353,14402,44745,16935)
Unknown column 'np.person' in 'where clause'