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 (44711,16885,3,44845,18996,24441,44837,6862,44854,18301,44689,17756,44775,18652,45277,31354,13,44868,17981,17904,44671,24411,44861,30135,30963,44884,18900,43800,44866,16935,34194,44863,3883,18042,44848,17237,45567,18279,17771,45180,44853,45518,45515,18719,17657,10402,44766,4765,18286,28313,44835,13988,44867,45262,18794,13425,17351,32454,6609,44851,39676,19057,44640,45072,6782,14402,14622,18572,18172,44745)
Unknown column 'np.person' in 'where clause'