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 (13,44687,44669,18279,18353,17492,43800,17756,45042,45517,17848,5388,4765,44835,30135,18237,44884,28313,17657,45072,44875,34194,44765,45516,44689,44869,10402,45180,44531,44851,45262,5259,44854,44867,18652,44856,45051,44764,45277,32454,17278,5993,18650,14622,30963,45043,44858,17755,17601,18430,44870,6609,45518,39676,44894,44848,44762,44861,44685,37057,13988,17092,18981,44767,44711,18446,45346,44837,44836,3)
Unknown column 'np.person' in 'where clause'