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 (18650,44689,18894,44858,45180,14402,45043,44868,13,13988,44878,18279,6862,44669,44531,45042,45072,44768,30986,44739,44711,44851,36472,13922,44766,18427,44764,44745,39676,24412,18652,18996,44845,24411,5410,5388,44869,5259,44884,14622,10402,45421,17756,18237,18430,18185,17839,44873,28313,17835,45567,4686,17092,18719,37057,17335,45561,18900,30135,4765,18446,24438,45229,45277,24441,44762,30963,17556,44775,44767)
Unknown column 'np.person' in 'where clause'