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 (8753,6609,44767,44855,44856,10402,44849,45286,3,44711,5993,17904,18719,17114,18172,45517,30963,6782,44878,44685,44765,44671,18286,5259,30986,18301,43800,44739,44766,45518,44845,44858,37267,22509,18446,24441,45567,6875,36472,17755,31354,17527,34194,44640,39676,44531,17771,44836,18648,45516,18430,44669,30135,44689,44687,44853,17981,17703,6862,16935,44865,18237,45177,5388,44875,44745,9341,44854,18185,17657)
Unknown column 'np.person' in 'where clause'