create view v_name as
select * from tbname where rowid not in(
select max(rowid) from tbname group by name,sex);