sql distinct 用法
来源:互联网 发布:无限量流量软件 编辑:程序博客网 时间:2024/05/20 14:18
select COUNT(distinct Name) from Door group by ID,Name
select DoorID, DoorName ,COUNT(distinct DoorName) from Door group by ID,Name
distinct 会有损耗性能问题,不过有个前提是数据量够大,100万级别以上
group by 好些
- SQL DISTINCT的用法
- SQL语句distinct用法
- sql distinct 用法
- SQL distinct用法
- SQL DISTINCT的用法
- sql中distinct用法
- sql---distinct函数用法
- SQL中distinct的用法
- SQL中distinct的用法
- SQL中distinct的用法
- sql中distinct的用法
- SQL中distinct的用法
- SQL中distinct的用法
- SQL中distinct的用法
- sql中DISTINCT的用法
- SQL中distinct的用法
- SQL中distinct的用法
- SQL中distinct的用法
- [poj 2420]A Star not a Tree?[模拟退火]
- c语言exit和return区别,在fork和vfork中使用
- tftp用法
- C++常量折叠
- 使用GDB调试RB-tree
- sql distinct 用法
- py文件传输
- HDU 3848 DFS 树形DP
- launcher开发1
- 【android日常错误】Android R.java文件丢失,解决方法
- Java基础11:线程;synchronized;延迟加载(懒汉模式);死锁
- 普通充电器给苹果IPHONE/IPAD2充电的USB端的识别电阻的设置
- POJ 3468 A Simple Problem with Integers
- dwr框架中DWRUtil的方法