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 (24411,44865,17351,18572,45286,18650,18185,28530,17771,44531,24438,17009,9341,45561,43800,44870,44873,44836,16935,18981,31354,45043,44868,17527,17981,37267,17492,30963,24441,17904,44775,45042,44863,45277,18427,44739,44848,18794,30986,44867,13,45180,18648,44884,5993,13988,44764,34194,24412,18719,16885,17839,5388,45518,4686,14622,18446,18301,44766,44861,18996,44866,5259,4765,17237,6609,32454,45421,44849,44853)
Unknown column 'np.person' in 'where clause'