MSSQL Server: Join tables with rows to columns convertion

前端 未结 0 1955
臣服心动
臣服心动 2020-12-29 01:49

I have two tables:

TABLE1

TABLE2

Output need to be like this:

OUTPUT

select CODE, NAME,
   substring_index(DVAR, \',\', 1) as DATA         


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