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 (44868,3883,45043,4765,44894,17657,18981,17839,18648,6782,45518,45567,17981,13922,45042,34194,18446,44711,44845,18719,14622,32454,45177,18301,17848,24438,13425,44674,28530,44856,44873,45561,45072,17556,44689,19078,6609,44870,18652,44869,45515,18042,31354,45262,44745,44767,17092,18688,18172,5259,3,18427,45421,44835,17756,17771,44858,8753,4686,44861,44685,45286,9341,17835,16885,37267,10402,22509,17601,18353)
Unknown column 'np.person' in 'where clause'