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 (44689,13425,10402,30135,45051,9341,18894,13,18900,45177,37267,24438,5993,24411,44856,44866,17237,17278,18719,28313,6862,45229,44687,17981,45561,3,17351,17839,3883,5259,24412,44855,18446,45517,18650,44858,44745,44868,18572,44851,44711,44765,17904,44854,18237,44875,44867,30986,34194,44531,45518,18172,6609,44845,17556,17703,24441,44775,17771,18427,17848,45286,44869,44669,45072,36472,44674,44853,18279,18981)
Unknown column 'np.person' in 'where clause'