delete t from (select ROW_NUMBER() over (partition by Id order by Id ) as rank1,* from syn_trans) t where t.rank1 <> 1