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 (44856,45051,18042,44894,32454,44858,24411,8753,17755,5410,17492,44865,31354,17009,43800,18894,17848,45072,6875,45043,44870,44766,45421,44837,5993,44851,44869,3,17278,44863,19078,44689,13922,17904,17835,17335,30135,44764,44855,10402,45286,44861,44531,44762,18572,18237,44836,6782,17237,45177,30963,44711,37267,5259,13988,45346,18172,44765,45561,18279,17601,45518,36472,44867,44873,18719,30986,18652,13425,44640)
Unknown column 'np.person' in 'where clause'