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 (13988,28530,18648,17114,17601,44875,17657,44894,18650,18996,44669,45421,13425,18794,44855,8753,24412,45518,17839,44531,44745,24441,18572,17755,44849,44739,44856,44687,36472,44767,44878,18353,44870,34194,10402,5410,44640,44674,16935,6609,44865,44866,6862,45072,14402,45262,45516,17703,22509,44861,45567,44671,17237,45277,44765,17092,13922,17492,18900,17278,45043,18446,44858,3883,17351,17771,44884,18430,24438,18427)
Unknown column 'np.person' in 'where clause'