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 (13922,17556,8753,10402,22509,17835,44711,44745,17755,45515,3883,44865,44869,18648,24411,17114,18894,6875,44768,30963,44875,44671,17848,18446,17335,44835,19078,44762,44689,31354,18042,13988,18652,44858,30135,18185,44853,6862,17009,44856,18172,45177,36472,45421,9341,44878,24438,45072,39676,43800,44685,18981,18353,32454,44894,44867,44861,17092,16885,17756,44767,17657,44848,18237,44687,44868,5410,44873,17492,44866)
Unknown column 'np.person' in 'where clause'