hn_lijia

导航

2019年11月8日 #

行转列语句,记录一下

摘要: select * from (select UserName,Subject,Source from TestTable) testpivot(sum(Source) for Subject in(语文,数学,英语) ) pvt select * from (select UserName,Subj 阅读全文

posted @ 2019-11-08 23:18 hn_lijia 阅读(98) 评论(0) 推荐(0) 编辑