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 (18650,18652,6875,17527,18427,44671,44848,44687,24412,3,17092,17009,3883,17114,28313,17492,44685,17657,45229,34194,44531,18237,17835,44854,17981,39676,45277,4765,19057,17703,45567,17351,17755,16935,45072,44867,44835,18185,9341,44868,44851,24441,18719,44870,44764,17237,44865,44863,13,13425,37267,17771,44873,44765,45518,18446,44878,44669,45517,44894,16885,18279,45177,17278,45262,17756,13988,44689,18430,18353)
Unknown column 'np.person' in 'where clause'