select
case when 1=1
then
case when 2=2
then
case when 3=3 then ‘3=3’ end
end
else ‘1<>1’ end
case when的嵌套
最新推荐文章于 2023-09-21 16:09:10 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
select
case when 1=1
then
case when 2=2
then
case when 3=3 then ‘3=3’ end
end
else ‘1<>1’ end