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 (44861,18688,44853,44858,24438,37057,45177,6862,19057,3883,45180,13922,17771,44767,14402,45072,44762,18572,44866,16885,44764,4765,18894,17527,18446,44711,44766,44851,30986,24411,44869,6609,18719,45567,44674,44689,44856,17556,17335,3,28313,44835,18279,45051,18794,5388,17835,44640,45517,44765,13988,5259,34194,18981,44855,44671,17351,44768,44845,45346,45277,19078,45262,45229,18900,32454,36472,44837,17114,6782)
Unknown column 'np.person' in 'where clause'