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 (36472,44858,44674,16935,17278,9341,37057,31354,17335,45177,44856,39676,6862,44836,18446,44671,44685,19078,30986,44863,17092,18185,45042,18301,44768,18572,45262,17601,10402,44849,17981,18237,18648,18719,17771,14622,44878,16885,44837,17835,37267,28313,44845,44775,30963,17237,44873,43800,45346,44853,45286,17527,5410,19057,44861,44894,3883,44669,4765,44869,44884,32454,45567,45051,44767,30135,17114,18353,44766,45072)
Unknown column 'np.person' in 'where clause'