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 (17114,44870,44866,44835,17237,17278,8753,44531,18572,44768,44764,17839,17703,44669,44873,44855,44868,44851,45277,16935,13922,44894,6609,45346,28530,44854,18042,44762,44766,9341,44858,17771,44856,39676,18688,45051,18237,17527,45516,44861,18279,44711,18996,18652,30135,24411,32454,13425,44685,44869,18981,22509,44848,17981,45229,18172,3,37057,5388,30963,17848,44689,44775,5410,45262,44867,45517,44836,17755,44865)
Unknown column 'np.person' in 'where clause'