设为首页 加入收藏

TOP

列转行--行转列问题(二)
2014-11-23 23:56:18 来源: 作者: 【 】 浏览:25
Tags:转行 问题
sername,'语文' as subject,"语文" as score from ScoresStudent www.2cto.com
union
select username,'数学' as subject,"数学" as score from ScoresStudent
union
select username,'英语' as subject,"英语" as score from ScoresStudent
union
select username,'生物' as subject,"生物" as score from ScoresStudent;
作者 cupid1102
首页 上一页 1 2 下一页 尾页 2/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇数据库反范式~认识三大范式 下一篇MongoDB(NoSQL)入门

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: