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 (3,44873,44845,30963,5410,13,16935,17335,13425,44863,17771,44836,13922,18981,31354,17657,9341,44854,18042,36472,16885,17835,45561,17527,24412,44868,45277,24411,44835,17556,18652,45515,8753,19078,18648,44775,18688,44739,5993,44767,37057,44849,44768,17351,44867,44865,18185,17703,18996,45180,44861,44689,18430,18286,17904,18279,45346,45229,44866,17237,44764,17755,44894,44765,18237,37267,24438,6875,45262,30986)
Unknown column 'np.person' in 'where clause'