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 (45567,17092,44856,44745,44531,17527,37267,45072,3,18427,44855,18572,44849,24411,6782,44894,5259,17351,44884,24412,31354,45180,10402,45421,18237,17771,17703,6875,14622,44739,17835,16885,18650,19078,44854,44875,44848,24438,17278,44870,44766,6862,44835,44837,17237,17335,44640,28313,44867,44853,36472,6609,44866,43800,44764,45518,17756,44869,44685,44669,39676,9341,45229,45277,44765,18688,18446,44836,5410,32454)
Unknown column 'np.person' in 'where clause'