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 (44687,44868,44873,17556,18794,45286,19057,17657,45518,31354,18353,18719,28530,18427,18650,44854,17601,18279,44853,36472,44855,45516,44849,44869,39676,17835,44689,45561,44531,17237,16885,44863,16935,24441,6875,44866,28313,9341,44861,45180,44865,24438,44894,44745,5410,44767,45567,45346,18572,18981,45072,37057,18648,18900,44867,34194,32454,45229,44768,44764,17839,44878,5388,14622,45051,18996,17703,44836,17335,17771)
Unknown column 'np.person' in 'where clause'