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 (44858,17092,18446,44854,17492,18572,17755,18650,17114,45051,17527,45286,18719,34194,45518,18996,18042,45517,45180,24411,44745,14402,44878,44853,18185,44894,45421,16935,18430,44865,44868,8753,22509,17756,44687,44674,44669,4686,44866,44711,6609,44870,6875,4765,18286,45262,6782,44768,44851,45561,18301,13,24412,44861,44640,44884,13988,44856,18652,44531,18894,3883,44671,28530,18648,44767,17351,39676,44764,5388)
Unknown column 'np.person' in 'where clause'