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 (44836,44640,5388,34194,37267,44531,4765,17335,28313,17848,30986,18353,44767,45177,17904,45515,44849,44875,44866,44878,4686,13988,14402,28530,18279,17755,22509,18172,18446,45180,45518,44848,18981,44835,17492,44884,17092,44854,36472,44687,17839,17756,24438,18301,43800,44689,13922,45262,18572,18427,18794,44837,16885,19078,44765,18894,45229,44870,44845,8753,30963,18185,44685,44775,17601,44851,45072,17351,44894,3)
Unknown column 'np.person' in 'where clause'