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 (17601,32454,44687,44866,4686,17981,5993,24438,44875,3883,44853,44768,17835,10402,18996,44775,44745,22509,18719,44766,45517,17335,45346,44855,18172,18981,18446,13425,44861,44873,44835,44671,17351,45286,17848,14622,45518,44854,19078,18650,44765,30135,17771,34194,44689,17527,45277,45516,17703,45180,5388,45072,17009,44739,37267,44845,18430,45177,45515,18900,45262,17092,14402,13988,28530,8753,43800,17657,44711,13922)
Unknown column 'np.person' in 'where clause'