DELETE FROM xx where aa in(select aa from xx group by aa having count(aa) >1) and rowid in (select min(rowid) from xx group by user_guid having count(aa )>1);
select aa from xx group by user_guid having count(aa) >1;
DELETE FROM xx where aa in(select aa from xx group by aa having count(aa) >1) and rowid in (select min(rowid) from xx group by user_guid having count(aa )>1);
select aa from xx group by user_guid having count(aa) >1;