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 (17009,5410,44768,44767,44762,13,44739,18652,6782,17335,5259,18446,45346,45072,44869,44764,18353,37057,19057,37267,5993,17771,17556,19078,5388,39676,10402,18042,44836,18650,30963,45042,45180,18794,44687,17092,44775,44878,44855,17351,44669,44853,17839,17114,17755,17904,18688,36472,44845,44837,4765,24441,44870,22509,44765,44671,18185,28530,18427,45286,45177,14402,17756,44861,44766,45517,18237,44674,45262,13425)
Unknown column 'np.person' in 'where clause'