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 (44768,16935,18430,44775,44863,44858,17703,44853,44866,3883,45277,18042,44674,37267,18652,45262,28530,17092,17527,5410,44851,16885,45346,17771,24411,18572,4765,18894,17848,18981,17657,45180,5993,18286,44745,32454,45517,18794,44870,44766,44873,22509,4686,17755,44531,18185,13,17601,45229,44711,13922,17114,45043,44835,45072,24441,18446,18427,18719,44764,44848,44762,6782,17904,44884,13988,19057,44875,45518,44855)
Unknown column 'np.person' in 'where clause'