设为首页 加入收藏

TOP

oracle case when exists()
2015-07-24 10:38:53 来源: 作者: 【 】 浏览:1
Tags:oracle case when exists

用法如下:

select case when exists(select 1 from t_test c where c.name = 'zhangsan'
    and c.age = 23 ) then 1 else 0 end
from dual;

?

?

?

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Oracle学习(五):多表查询 下一篇重写oraclewm_contact函数脚本

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·请问c语言刚入门,该 (2025-12-26 10:21:04)
·python 编程怎么定义 (2025-12-26 10:21:01)
·09-指 针 (一)-c语言 (2025-12-26 10:20:58)
·About - Redis (2025-12-26 08:20:56)
·Redis: A Comprehens (2025-12-26 08:20:53)