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 (44873,13425,44674,45277,44884,17601,44866,18652,17835,17527,45043,17278,44836,18172,44762,44765,44848,45042,30986,44837,8753,44685,44711,44767,17114,44739,44865,17703,44870,13922,17657,5410,45561,44687,3883,18981,5259,44764,44689,44853,4686,6862,18185,39676,18237,18286,5993,14622,17556,45517,16935,18430,45177,6782,22509,44768,13,44845,18894,17756,18572,17839,32454,18042,36472,17981,45051,44849,44531,6875)
Unknown column 'np.person' in 'where clause'