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 (44853,44689,4686,18648,45567,17237,45043,44894,44870,44671,44765,37267,44739,5388,17527,44687,44867,17848,17009,45042,13,17756,18042,24441,44845,18430,28313,16885,18446,17114,44674,13425,17839,30963,44835,3,44866,18185,44875,28530,36472,44837,18794,16935,14402,18894,17351,45229,17601,44855,44849,8753,44766,43800,17278,17904,18279,44858,17657,17556,17835,44869,30986,44856,18981,24438,6862,44531,44854,44669)
Unknown column 'np.person' in 'where clause'