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 (13425,16935,17755,44869,3883,45051,19078,6862,44854,9341,17351,18042,45072,44853,44669,44685,17771,17278,18430,45177,13988,44845,5410,44878,18900,36472,17657,44764,44858,44867,17556,17835,44745,37057,18172,45180,45346,24441,28530,5259,17114,17009,13922,24438,14402,44767,44866,3,18572,18279,45277,17981,24412,17703,17839,6609,44765,30135,22509,4686,18237,37267,44863,44768,18894,45518,44835,18353,13,44851)
Unknown column 'np.person' in 'where clause'