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 (28313,44764,44894,44837,17755,44767,39676,17092,10402,19057,44711,45516,45042,17237,44531,44739,44762,44848,45277,30963,5388,6609,17278,6875,17839,17114,31354,45561,19078,44687,17835,44851,44845,18794,13,17601,45286,17756,18688,4686,44884,37267,44867,44875,18900,18353,13988,44868,44766,18719,44873,45051,44858,18286,44849,5410,32454,17009,17556,44861,17657,24438,37057,18572,45567,18427,45517,17351,44745,8753)
Unknown column 'np.person' in 'where clause'