oracle怎么实现if else的功能

2025年03月23日 14:11
有2个网友回答
网友(1):

使用CASE 语句

select Case column1 when a then (select column2 from table2 where table1.id = table2.id) else column1 end from table1

网友(2):

case when~