2019年1月17日

SQL Server(00):行列转换PIVOT与unPIVOT

摘要: 一、sql行转列:PIVOT 1、基本语法: create table #table1 ( id int ,code varchar(10) , name varchar(20) ); go insert into #table1 ( id,code, name ) values ( 1, 'm1' 阅读全文

posted @ 2019-01-17 20:07 springsnow 阅读(340) 评论(0) 推荐(0)

导航