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 (14402,18446,17771,18430,18719,17278,6862,17755,44884,30135,43800,10402,18572,5993,14622,44711,32454,44837,45561,44868,3,45042,18688,17092,45051,44836,18301,44669,31354,45346,36472,18648,6875,17835,30963,6609,44869,44739,44762,17848,37267,24441,17601,44854,16935,45567,44768,28530,44853,17556,17904,18900,44875,44894,4686,17981,17839,17527,44861,39676,22509,45515,44671,44858,18427,44835,18996,44856,44745,13)
Unknown column 'np.person' in 'where clause'