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,44868,3,44766,17657,44848,18894,17114,44689,6782,24438,5410,44531,17904,30963,18446,14402,17092,18185,17755,13425,45515,18572,45072,13988,5259,44856,44867,10402,44861,44674,17703,44865,13922,28530,19057,45277,45042,17756,28313,45561,17556,44851,18652,44855,17771,44775,44863,18279,44845,17835,44869,44854,6862,44849,32454,45180,18794,5993,39676,45177,18286,44835,6875,37267,45286,18981,6609,8753,36472)
Unknown column 'np.person' in 'where clause'