《Oracle查询优化改写》笔记第一章—单表查询 与 第二章 — 排序
1.查询所有行和列 ---如果为空 ,则查询值为 0, 不同于nvl的是 coalesce 支持多个参数 select coalesce(comm,0) from EMP_TEST t; ---coalesce ---取随机条数 select empno ,ename from (select empno,ename from emp_test order by...
原创
2018-06-19 22:56:29 ·
208 阅读 ·
0 评论