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 (44854,44674,30986,8753,13425,44868,10402,18427,17755,28313,44848,44739,17771,18572,17237,32454,18688,24412,44768,44853,44865,45177,14402,44849,44531,44640,44766,24441,44873,13988,18301,44745,18981,18650,18185,17278,45561,5410,44856,18279,37267,44845,5388,18652,17492,44711,13,45180,17335,31354,45229,5259,17114,45567,43800,44894,45515,24411,17835,37057,45421,45043,44878,44875,44671,17904,45518,18794,45277,14622)
Unknown column 'np.person' in 'where clause'