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 (44884,17904,44671,18279,17848,44863,5259,24441,3,18794,16885,44531,44853,18353,17601,17835,18185,6862,44745,14402,37057,5410,17981,44739,44867,17527,45042,6875,44894,45518,16935,44851,18301,14622,18648,6609,44869,18719,44870,8753,39676,18996,44766,22509,44765,17771,44685,18688,17755,13425,9341,5993,34194,18900,44768,17351,18572,45072,44866,17009,17556,44848,44875,30135,30986,44764,44861,19078,4686,18894)
Unknown column 'np.person' in 'where clause'