T-SQL, updating more than one variable in a single select

前端 未结 0 1630
梦如初夏
梦如初夏 2021-02-11 12:49

Is it possible to update more than one local variable in a single select?

Something like:

set
    @variableOne = avg(someColumn),
    @variableTwo = avg(         


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