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 (44775,19057,44856,13425,44711,45515,44867,4686,17657,44768,3,44855,44837,45517,17756,24411,18650,5259,24441,13988,44640,14402,17848,45042,44868,44531,17492,5410,18688,17556,5388,44865,45177,32454,18430,45567,45286,10402,18301,18648,44766,24412,44866,44884,18237,16885,44894,44875,18794,9341,28313,17839,6609,44765,13922,18286,14622,37267,44767,17527,18719,44762,39676,17114,13,44853,34194,18652,18185,18996)
Unknown column 'np.person' in 'where clause'