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 (45561,17092,6609,17335,24441,8753,17755,18719,5410,19078,45051,13425,19057,17351,44856,45567,45517,24412,44875,17981,44640,43800,44768,6782,45043,44849,44878,44854,44865,44867,18237,45262,44868,44739,44894,44671,44767,45518,45515,17278,44851,5259,45421,44848,45072,44866,18572,44836,44745,3,18981,44711,44884,24438,32454,44689,18648,16935,44858,13,44685,30963,17657,44837,24411,30135,44674,44855,9341,17703)
Unknown column 'np.person' in 'where clause'