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 (44884,18042,17756,8753,17527,45229,18648,44640,44835,18981,30963,18301,45177,18900,3,24441,45346,44870,17278,45561,5993,28313,6862,17839,43800,44853,17601,24411,44764,44861,18237,4765,44878,18286,44849,17351,18353,17092,18719,44767,44531,44739,45517,19078,22509,45567,45515,18572,44845,45262,36472,45051,45286,13425,44854,44894,45180,45042,17771,18185,17835,13988,39676,6875,4686,17114,32454,44863,30135,44855)
Unknown column 'np.person' in 'where clause'