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 (3883,43800,17904,6609,19078,17755,24412,18427,17703,5993,44884,44854,44866,44869,18572,18648,24438,18794,18652,44845,44868,45043,28313,44878,3,37057,4765,18900,17839,45072,17114,24441,44848,18719,17351,17335,19057,16885,31354,18981,4686,44851,36472,44689,44855,18279,44671,17556,45051,18237,45042,18353,44685,18894,44894,45277,44764,24411,44849,44853,17835,32454,5259,18446,45567,17601,30963,18688,17527,45421)
Unknown column 'np.person' in 'where clause'