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 (44868,6862,24438,44867,6782,9341,28530,44866,13425,44875,17835,17351,6875,18650,4686,44775,3883,45277,17092,13988,45567,3,13,18286,37057,44687,31354,45229,44762,17601,44671,44845,17839,45517,44865,24441,44856,18719,28313,18894,45180,44849,45515,45177,45561,45262,32454,18688,8753,44764,17114,17556,44674,18353,43800,44861,44768,44851,5993,6609,18648,19078,17771,18172,30986,45421,17756,44669,44767,44878)
Unknown column 'np.person' in 'where clause'