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 (17351,28530,44845,44855,14622,30986,44894,34194,44762,30963,44836,18185,13922,22509,44873,19078,18572,44863,45277,18279,44768,45051,14402,5993,13,44689,44868,17092,18301,45043,44867,19057,18794,45515,44884,4686,4765,43800,24438,45516,13988,18652,44869,24412,45262,17703,44858,24411,18900,17848,44851,45072,17237,39676,8753,18648,45229,44853,6609,44878,44687,3,18981,5388,17601,44837,17657,17114,32454,37057)
Unknown column 'np.person' in 'where clause'