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 (28313,44884,45561,17756,44531,6782,17601,6862,44868,17009,45043,44762,17335,44866,44845,3883,45180,45421,44853,44856,18650,17981,18996,45516,5993,44674,44689,5410,24441,24438,17703,18427,18446,44855,45042,44835,18430,18237,6609,9341,17351,17755,8753,44894,44870,44745,18042,18572,3,44765,45515,44861,28530,44775,36472,44849,22509,44869,17848,19078,30986,44640,44863,45072,30963,44685,17278,5388,30135,18981)
Unknown column 'np.person' in 'where clause'