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 (44855,17848,5410,5388,17351,30135,44868,18572,18648,24411,4686,22509,17556,6609,14402,14622,10402,16935,37267,18286,44873,44766,37057,34194,18650,45180,44856,44711,17703,17904,17601,45277,13,44858,17527,44674,17839,44845,18301,36472,44849,19057,44861,44669,28530,44765,17756,44836,17092,44853,44875,5993,18794,18427,44848,17237,18996,3,18719,45515,44865,17278,18688,31354,44689,45177,24441,44531,45042,45043)
Unknown column 'np.person' in 'where clause'