oracle order by 和where
时间: 2023-11-26 17:04:28 浏览: 170
在Oracle中,"order by"和"where"都是用于查询和排序数据的SQL语句子句。
"where"子句用于过滤出符合指定条件的数据。它在查询之前应用,并根据指定的条件从表中选择满足条件的记录。例如,"where deptno = 30"将只返回部门编号为30的记录。<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* *2* [Oracle(1)select、where、优先级、order by、host变量](https://blog.csdn.net/shayuwei/article/details/89886166)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}} ] [.reference_item]
- *3* [Oracle中where,group by, having, order by条件的执行顺序和sql练习](https://blog.csdn.net/weixin_28025327/article/details/116316366)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}} ] [.reference_item]
[ .reference_list ]
阅读全文