用法如下:

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;

 

相关文章:

  • 2021-08-13
  • 2022-12-23
  • 2021-04-17
  • 2021-06-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-17
  • 2022-12-23
  • 2022-01-31
  • 2022-12-23
  • 2022-01-03
相关资源
相似解决方案