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 (44875,44745,18652,17657,44853,13,18430,31354,44849,44768,17335,18446,18981,17756,45567,44865,28313,18237,44870,34194,45421,44858,44868,18900,22509,18286,17092,44767,45262,45515,6782,17601,10402,44856,18353,28530,9341,18172,44671,17981,4686,18648,44837,32454,18894,44861,44851,18996,44873,45516,45229,44854,17848,44764,44835,45286,14402,6609,13922,45561,17835,44863,44685,44894,6862,17839,44669,17527,16935,44855)
Unknown column 'np.person' in 'where clause'