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 (17756,44685,18446,44858,6875,45515,17492,6782,13,5410,44669,17335,3883,18900,44687,17114,17556,45517,31354,44764,45346,17237,18237,8753,18572,5388,30963,17904,9341,45180,44837,44848,44869,17771,18981,3,18279,44765,17601,5993,17839,17278,43800,45051,45567,17009,45286,44884,44745,17351,44851,24438,28530,24441,18042,18996,18652,19078,44867,44878,45177,18648,37057,44866,22509,6609,14402,44674,44868,32454)
Unknown column 'np.person' in 'where clause'