oracle数据库 case when
时间: 2023-09-23 19:06:38 浏览: 169
oracle where case when where后面跟case when
在Oracle数据库中,CASE WHEN语句用于在查询或存储过程中根据条件进行条件判断并返回相应的结果。根据提供的引用内容,如果在CASE WHEN语句中省略了ELSE子句,并且存在不满足任何条件的情况,那么默认情况下将返回NULL值。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Oracle case...when...](https://blog.csdn.net/feizai_xiang/article/details/118734549)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [Oracle case when 详解](https://blog.csdn.net/qq_34745941/article/details/99947625)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文