文章列表
select t.* from testtest t where t.rowid<(select max(tt.rowid) from testtest tt where t.sname=tt.sname);
select * from (
select t.*, row_number() over(partition by t.sname order by t.id ) rn from testtest t
)tt where tt.rn = 1