Oracle查询优化改写
qq_15160583
在快乐中学习,在学习中成长。
展开
-
对查询结果排序(第二章)
2.1以指定的次序返回查询结果[order by....ASC(升序)...DESC(降序)] select * from table order by date ASC -->根据时间升序排列 2.2按多个字段排序 select column1,column2,column3 from order by column2 ASC,column3 DESC --&...原创 2018-09-19 22:46:53 · 317 阅读 · 0 评论 -
单表查询(第一章)
1.1查询表中的所有的行与列 select * from table; 1.2根据条件查询【where】 select * from table where column = 'xxx'; 1.3查找为空值列【IS NULL】 select * from table where column is null;-->为空 select * ...原创 2018-09-12 22:29:02 · 255 阅读 · 0 评论