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 (17492,18894,8753,17527,17839,44875,24411,13922,16885,43800,44863,17904,37057,18446,18042,44851,19057,18794,17556,16935,44669,30986,18427,30963,18185,45072,17237,44766,5410,44689,17703,44837,17114,5993,45516,44855,18652,44856,17092,17351,18688,44878,14402,44853,36472,44869,5388,32454,45043,34194,24438,17771,30135,45180,28313,44775,24412,18237,13988,18900,45421,45051,44854,44858,44870,44739,45518,18719,45177,4686)
Unknown column 'np.person' in 'where clause'