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 (16935,14402,44775,45262,43800,17492,6875,44869,17114,18279,17351,45561,44762,45421,30986,31354,45177,44764,44689,4686,45042,44894,44837,44858,44870,17835,5259,18237,18688,44674,28313,44745,45518,8753,44854,6782,44848,30963,24411,44768,17981,18572,32454,18996,36472,17527,13425,44640,22509,18042,45286,44884,18430,44849,17839,44765,18301,45517,10402,17556,5388,44855,45515,17278,17848,45277,18652,44711,17237,24441)
Unknown column 'np.person' in 'where clause'