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 (43800,44711,44884,44853,17756,44878,44836,44689,44863,6875,16935,44856,44858,22509,28313,14402,44687,13988,45518,24412,18996,18172,36472,34194,44845,45042,18794,3883,17981,45177,17835,44866,6862,30963,28530,18900,18286,44867,44745,18279,18648,45346,17839,44766,18353,44875,17848,19057,45286,17278,45421,17771,45277,18981,44835,18688,32454,16885,37057,44767,30986,44775,44854,17527,45229,8753,10402,44848,45043,17092)
Unknown column 'np.person' in 'where clause'