delete from aaa where id not in (select id from aaa group by name,age)
delete from aaa where id not in (select id from (select id from aaa group by name,age))
delete from aaa where id not in(select n.id from (select id from aaa group by name,age) as n)