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 (44873,14402,4765,44878,17601,19078,44739,17981,9341,44689,45051,17351,3883,44875,45180,45515,44848,18430,45286,45043,17756,24438,36472,17335,44674,18572,44851,45229,44858,45277,24441,44853,37057,44685,16885,45518,44868,44894,18237,45561,17114,44775,45072,34194,18301,8753,17771,44869,18650,28313,6875,17009,44836,44765,17492,44766,44884,18185,45517,13,5259,44854,44687,6782,18719,44866,45567,44863,6862,17839)
Unknown column 'np.person' in 'where clause'