SQl不重复的所有数据(重复的只显示一条)

来源:互联网 发布:bat执行java main方法 编辑:程序博客网 时间:2024/05/16 16:23
select *  from kucun t1 where not exists (select 1 from kucun t2 where  t2.name=t1.name and t2.bianhao<t1.bianhao)

原创粉丝点击