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 (18652,44689,18301,28530,18353,6875,19078,18286,18996,5993,18719,44685,8753,44845,36472,17278,45180,44531,45346,44671,43800,44711,34194,44858,18237,17492,18427,17335,44867,45518,44837,45567,30135,18572,5259,45517,24411,6609,5410,17835,44894,44868,18446,45177,9341,44878,17904,44764,44849,45421,17009,44640,24438,44669,37057,39676,31354,45515,44674,17114,44739,4765,44875,17981,3,44687,30986,24412,17601,32454)
Unknown column 'np.person' in 'where clause'