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 (44867,45515,30135,17657,44764,44865,18237,3,18996,18688,24412,17556,17703,44689,44640,45042,17527,44848,18894,18446,45346,17092,32454,17756,44836,45567,44767,5410,45177,19078,18648,18900,17904,45180,22509,44671,17771,5388,18572,18650,44739,37267,18719,44674,43800,9341,44873,17492,45421,45043,44884,18430,45286,44711,18794,44861,14402,24411,18981,45517,17009,28530,44835,17237,6782,44866,44858,45516,10402,3883)
Unknown column 'np.person' in 'where clause'