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 (14622,44739,17335,45346,18981,44875,18900,32454,17657,44853,18652,18353,34194,44768,44531,17848,44671,17601,28313,18427,37057,44870,5259,45567,44861,10402,44837,6862,17835,44674,44835,17904,45042,45561,5993,45229,45043,45277,18446,45262,14402,45072,44745,44849,17981,18237,44845,6609,44867,45517,45421,17009,30963,18286,13,45286,18719,43800,17092,5388,17237,18279,44775,44711,17278,30135,18301,5410,44854,18894)
Unknown column 'np.person' in 'where clause'