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 (44875,13922,44861,44858,17092,44894,44870,17771,44775,44878,45051,44768,43800,18894,5993,24441,31354,39676,24438,3,17492,44867,5388,37267,30986,44674,19078,13425,6862,44865,45518,18688,32454,44856,44853,18446,45072,17981,28530,44764,45043,19057,18572,44835,18650,44866,44869,44848,17904,13988,18042,34194,17351,18301,44685,44739,14402,8753,17703,45516,17556,4686,18981,18427,17278,16885,17601,17335,17848,44851)
Unknown column 'np.person' in 'where clause'