当前位置:Gxlcms > 数据库问题 > oracle case when exists()

oracle case when exists()

时间:2021-07-01 10:21:17 帮助过:63人阅读

用法如下:

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 case when exists()

标签:san   rac   acl   lin   name   string   bar   toolbar   sel   

人气教程排行