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 (39676,17092,44884,18237,28313,18572,5410,44669,44687,6875,17009,19078,16935,17351,5388,44853,45286,30986,44836,45561,16885,18894,17114,10402,44867,30963,18042,44865,30135,18279,5259,37057,17835,17848,44768,8753,44765,45229,17703,44851,44764,44845,44868,18301,13425,32454,17981,44863,18650,44848,18652,18719,44855,18286,44849,44875,44762,17771,44878,6609,14402,44837,44858,44766,44767,3883,3,34194,44894,19057)
Unknown column 'np.person' in 'where clause'