How to reuse part of a subquery in Mysql?

前端 未结 0 424
夕颜
夕颜 2021-01-27 09:31

I have a query goes as follows,

select
 column1,
 column2,
 case tableB.coulumn1
  when \'value\'
   then (select coulumn1,column2 from tableD where condition1)
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题