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 (45042,17755,44767,17848,13922,37267,17601,44856,32454,4765,44873,17237,14402,30963,17556,13,28530,18301,39676,44768,44875,44853,17492,45051,44640,28313,44878,44531,13425,18172,45518,36472,17009,44858,44868,22509,45567,44674,44863,4686,18652,6875,18719,18648,17278,18650,18894,45177,18185,17904,9341,44854,17839,17981,44867,44669,13988,6862,17703,30135,43800,37057,44851,5259,45043,44894,45515,44685,44775,17114)
Unknown column 'np.person' in 'where clause'