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 (4686,5388,18353,24412,44873,45177,18301,45277,44764,30986,45072,18688,18981,44853,44775,44845,44856,6862,17657,16885,6609,30963,45517,18042,44837,45518,44861,37057,4765,44531,44766,5259,44685,44855,45043,18572,44669,44711,36472,44765,44768,44739,44884,44687,44835,45229,45180,17981,17755,45515,45262,39676,44866,14402,44848,44865,6782,44767,17278,17703,13425,44863,28530,18652,45051,31354,45567,24441,18427,3883)
Unknown column 'np.person' in 'where clause'