case when 语句里面能嵌套查询吗
比如select(casewhen1=1then(select1fromtablea)else(select2fromtableb)end)fromtablec...
比如 select (case when 1=1 then (select 1 from table a) else (select 2 from table b) end) from table c
展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询