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,44848,44768,17848,45286,44858,45567,44762,18996,18185,24411,43800,45561,44674,18042,44865,17839,19057,44870,39676,17703,18172,30963,18652,17756,44711,18719,44884,22509,16935,19078,14402,17335,18894,18648,44854,44856,18572,44875,45421,44861,17904,31354,9341,45346,6782,44640,17981,44851,37267,45042,24438,44835,44867,4686,30986,36472,34194,44765,18900,17492,45072,17755,44685,44739,17657,45262,45517,18794,44687)
Unknown column 'np.person' in 'where clause'