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 (8753,45043,44836,45561,18981,30986,44640,44764,44689,44766,43800,18794,45421,36472,45517,13,3883,44894,18353,32454,17009,17527,18996,44687,45072,45262,44869,44861,19057,28530,18286,45051,17904,44848,16935,45277,44835,5993,17556,17335,45515,6782,4765,45346,17756,44671,24412,17835,44674,45177,24411,44873,44851,17981,44870,6875,18900,17492,18237,44837,10402,17237,45516,17703,44845,45042,44855,44865,44669,6862)
Unknown column 'np.person' in 'where clause'