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 (44835,45229,45561,18894,45516,19078,4686,44640,36472,45346,45042,10402,44868,17904,45421,44767,44856,17771,45286,44671,14622,18652,44848,44531,44689,17335,17009,45277,45518,44875,44765,18650,18430,5259,44836,18648,17981,30135,18286,45515,18719,37057,18794,44854,45177,45051,44855,18042,44739,17492,30986,24441,5993,17755,44853,34194,44768,18279,13922,45262,44711,18900,18237,30963,24411,31354,44870,44766,44685,44861)
Unknown column 'np.person' in 'where clause'