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 (44766,44867,16885,18353,44531,4686,22509,5388,44873,17703,34194,28313,17835,44853,6875,13922,30135,44764,9341,44640,24441,18900,17755,45518,3883,4765,45517,17848,19078,44869,17771,18996,44711,45421,44762,18172,44858,13425,44861,44884,44687,44674,44848,44767,17756,30986,44685,45042,44856,45180,28530,36472,18981,32454,24438,44870,17335,19057,14402,24411,6862,45229,44854,39676,17092,45516,24412,18650,45262,13)
Unknown column 'np.person' in 'where clause'