会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
hd092336
首页
联系
管理
2018年10月30日
SQL中distinct用法
摘要: 在表中,可能会包含重复值,这并不成问题。不过,有时您也许希望仅仅列出不同(distinct)的值。关键词distinct用于返回唯一不同的值。 1.作用于单列 select distinct name from A 2.作用于多列 示例2.1 select distinct name, id fro
阅读全文
posted @ 2018-10-30 09:27 hd092336
阅读(1307)
评论(0)
推荐(0)
编辑
公告