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 (44848,18172,18981,16935,45277,34194,13988,17114,6609,17703,44767,4765,44869,44849,13425,5388,4686,44863,45072,6862,30135,18237,18900,44873,13922,43800,44867,44745,39676,18652,9341,44687,45177,17237,24411,17756,44878,44854,45286,44674,17771,44711,18185,44858,18446,44870,32454,18650,17904,17601,45042,17755,45516,45180,17657,18794,19057,18688,18286,31354,44884,10402,45561,22509,44851,24441,3883,45346,14622,44856)
Unknown column 'np.person' in 'where clause'