sql行列转换
- 首先我们建立一张表,名为scoreInfo,各个字段的设计如下图,分别是name,course,score,表示姓名,成绩与分数,如图所示。
- 2
我们往表中加入数据,分别添加小明与小花的语文和数学成绩,如图所示。
aaarticlea/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wgARCACeAWUDASIAAhEBAxEB/8QAGgABAAMBAQEAAAAAAAAAAAAAAAEDBQQCBv/EABgBAQEAAwAAAAAAAAAAAAAAAAABAgME/9oADAMBAAIQAxAAAAH7K1eULxRV2UkOCg1mJBuMP6ArXiheKF8FJmGmyug7WHaa7j0yheKF4oXYpqODnNdn8RurxQvFC8VXefQBz38dxcpF1Kojh0vRmzojj0ahcpFykXRUJzdEcHnR8nNz6Yi+kXKRcpFud2Dhq0xTT2C5SLlIuUi31TcAc99F4Apu5Ti9WXHzukuNYAACJgzPmfqsM1KdLnNL159AAAHHk/Q48Z31WDvWAoAAETEgHNfTeQkRVdSXM7qL2F1GmkQkQkRHqA4sM+pZ3KbaPRCRCRCR5mnLNpg75CRCRCRCRExIBz3895KBPL01Gd1dfo+W2O/0SgSgSgTCDL+d+3rObn0fR7ePRKBKBKBzYX0smDvwJQJQJQJQExIBz30XgCm7lJsy/Jd0fP6RuAAARMGR55azW4+jPPpPVdgAABXxWYRramPsAAAAETEgHNfTeQkRVdSeeir0ePPJcdqRCRCREeoOH17FvmaTrSISISISPNFeZt1bnv576LHKEsM4SISISImJAOf5r6WS4Dn6OczuqzqMHY4bjQAAAiYPlqdr0cOb9hSWXAAABkZuzjd/D4+s+a+l5ugNO4AACJiQDmvpwj6NHoiq6kufNQfTMayNVn6NkJLCREeoDNzj6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SmLBAO0LOU4haEon55PSFEAwAYNsPDaEMCxqv7D1nIhFuVD0+z7wWNOpZv3XaFHNRQRoiBb5/2KXsMqFQT8n5gxEsCgRQTcn5gxfr03Q7Dgw1mY3v2Yq7GUpiwQDtCzlOIWhKJ+eT0hRAMAGDbDw2hDAsar+w9ZyPyVFmThuXEd/1Ed/1Ed/1Ed/1DZyycbly9xL3EvcS9xL3EvcS9xL3EvcS9xL3ER3l7iXuJe4l7iXuJe4l7iXuJe4l7iXuJe4iO8vcS9xL3EvcS9xL3EvcS9xL3EvcS9xEfz//aAAwDAQACAAMAAAAQQw0908wwgw0wwwwU8wwwwc8MMYse8MMK8cuOMME+OMMM88AAU888888888888z/888888gAG888888888888408888c8IAS888888888888Mc888808AAU888888888888k8888888gAG888888888888618888c8QAU888888888888J/8APPPPPJABuN9/PPONPPPPPM+/PPHPEABHLPPPOPzzPPPB/HPPPPPP/8QAKBEAAQIFAgYCAwAAAAAAAAAAARHwACAhMUFAkRAwUXGx0aHBYeHx/9oACAEDAQE/EOKVR9YwrdINCkr8exLheGF5Le0f17zN7SgkcMJpaI3SMu6nTGkZTTGoRvpBurddMaBe/wAI/EZ0x0qbacAtEGgxv6hYMEG5vS/KNF/H7+wneEqA3beAVqJDRvoYNArdt4ykmFbSEqjuj7wtFGX65AvHd1XzMv18QAAElVIASzxP/8QAKBEAAgAEBAYDAQEAAAAAAAAAAREAIUHwIDGR0RBAcaGxwTBR4WGB/9oACAECAQE/EOImHddoEyrzUCYeC9oo7rscNVwEyvhEr67mL7uKLBKJX/u5iru5YJcvOavPzElL77IfvLCZV3KKPlhIu7+4orpty0xI6d3t5cDJ3deh5aSHXl8CkUZ1GdIIFgJDIvL4HwE1/fz0X0hhGgX6OkEEFHAJ3roxAmVf36OkDJ4BmrtqHJm5M+9IRBINL3+AhhRVjr2XjEh5GsMtxRYF67Rfd+cf/8QAKBABAAIBAgUFAAMBAQAAAAAAAQARITHhQVFhkfEgMHGhwRCBsfDR/9oACAEBAAE/E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CC6Epl+I+PBZ5CtHAZ4Hr+x+MuHyaFdgARZ0q0qBKjLlReEl4UVMUWSdhCQjIqaNYNSHy5ocsVjUCxRSwYrtToFAKq0VpkmMNewLFCV0cirNPSKektq1gmwocwAZRQaApwLmfP/ble19j8f5Jah1odJ3nSd50nedJ3gkIHnQSVsb1KjpMBVmYqx56URTkXrBc6ybospFVashfBdwAXdYiQHnp56eennp56eennpawa8+jA4dyAazjmoieXFEc62Qum0SooQgca+rlw06ga3SnSoFdDQo31RdAAC6AKJ56eennp56eennp56eehhw1ePWc7GEReQFzzhIuhBS0DiuV4zz089PPTz089PPTz089PPRQAOeD0fYIashBRygoF3LSli8p8laPKq0gWmi1D+5hP/PDdfkXIcIq2wlgw4oQPJx7H2PxjrGfQCAtAwRUWGobxLKN1FyisgQZGkUChOAbG/NihNVmKKFyEZAkVC6bIklAoW+xQqAV0pNCHhMjwqiX8sCkuz2C8Ll7X2Px9BCoBqRXyWwKaXYmDT6JkTYBKquADNywHBEvyimEzlZdXOE1t6ys4KoFMIBhXJ7qTLCW4KFDDv4lWGBhCgaplVAV7F9j8ZUANdTzBmAAWml2m/eZxqXF4gYY0JIxPFoo2qtGoMZVmNY5bFF5NGBQEosCVIFKFM4QzfG79j6ONMliXmpb8ZVAJRFF4BT9vf2vsfj6CHDTp8f6q2q5VVy+ildlEBCZ4gEeCDNcqaW1ddKLXhVOLKxJ7CwEDqConGnKMeBSgqrVhwbKDUHPYVfZNmqlAavsfY/GNDIMAFblWtUKcXhGk0ZcFXFiCqUxn9MaD+5PyTlwsUECVRlQQtIXV0XR7AK/sQgNVpjJxjys8MDd4h2qiSUzm2Gc4D2vsfj/JOr80K83uleb3SvN7pXm90BTn5mFefclefclefclefclefclefclefclefclefclefclefcg3k683Jlefclefclefclefclefclefclefclefclefclefclefclefch05dXi5yvPuSvPuSvPuSvPuSvPuSvPuSvPuSvPuSvPuSvPuSvPuRBqa8V5PoIXnfoRXEthsijQWkYk5BIsRMInH+dWRqzhezXwnK+ktdNOBuBwvNa3j0PlAJqtRVU6y/wCUlyAN6FAHSOMOJ1Yg3oBAOFev7H4yv+wRnheCN3SOS+or8eDVoRURdGwHBY8NYruoNBETOi3JI1EN+SbUUqfY63y/7NWcL2a+E5X0lrppwNwOF5rW8eh8oBNVqKqnWX/KS5AG9CgDpHGHE6sQb0AgHCvX9j8fQQI1q+WMUUAlwehP/frk0G0HF9JdINCJKmgubzHHhF1tDYIZDSiUaGZhINtUNahVljKlGAb/AFPlZ6GwGh1eWSSuDP8AnZT4c/69f2Pxl4+djevBVUVa3lKx5m1GYlGUrD/SUlkSt4hCmW3ShrQ/1QJErEZUp+kN/hS4qQaqZ+ktSgNZBv1/2iZNSrQcX0l0g0IkqaC5vMceEXW0NghkNKJRoZmEg21Q1qFWWMqUYBv9T5WehsBodXlkkrgz/nZT4c/69f2Px/lAR3MKa9Z0H/PmdB/z5nQf8+Z0H/PmKSBn9RzdZW03lbTeVtN5W03lbTeVtN5W03lbTeVtN5W03lbTeKJhjpvK2m8rabytpvK2m8rabytpvK2m8rabytpvK2m8rabytpvACqdt5W03lbTeVtN5W03lbTeVtN5W03lbTeVtN5W03lbTeWIqY5H8/wD/2Q==" alt="" /> - 3
接下来,我们要进行行列转换,列应该是name,语文,数学。我们首先要考虑是如何得到列名,我们可以通过分组得到课程名称。如图所示,我们通过分组语句,从查询结果我们可以看出课程名的拼接字符串。
代码:
declare @sql varchar(200)
select @sql=ISNULL(@sql+',','')+course from scoreInfo group by course
select @sql效果:
aaarticlea/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wgARCABUAMkDASIAAhEBAxEB/8QAGwABAA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hM2B0diROZJFBtKFPSAbVu5mwMIwRhrCPUgbUblVKIlyBBlCBFtlqeEMyIzYI6gUbRxQY2F8X0At37rzbubYXxfQC3fuvNu5kz59CExU3d2Ntq/K3H4xkjNaY8IYO3UH6IaTpuzfpsvOq9szM/oCwloVAJ5IVjqW3MdMQENhp6cW/HQcDMA1EMWRizV18AsJCDYqBQCB6GqAGjBI8kgEAtL3bPUC+GoBemqEIoc2QHCV3Ha15aIoZ6KDskTAKv3LrEWxk6YEQfDog48xk8yyc7V+VuPxjPu4K7Hk1Os7/RDSdN2b9Nl51XtmUI9ksUCLBQbbDcPy5aRKgdHO6YHHilykAJT7xRRGAtXmo0Np1sQUerAEV7o1nYfBNdqnVyNIvXfEoKA5TwNYJJqj1IwiPsmubooASYh0YLEAmmwA0IguqdzESG0SwIGdEHHmMnmWTnavytxB/75H9+R/fkf35H9+STXpCCbQIwUoxwMeDmdhpKuNVvfbn4OZ2Gkq41W99ufg5nYaSrjVb325+DmdhpKuNVvfbn4OZ2Gkq41W99ufg5nYaSrjVb325+DmdhpKuNVvfbn4OZ2Gkq41W99ufg5nYaSrjVb325+DmdhpKuNVvfbmZC4oy6A0AAABxWpP+E4/9k=" alt="" /> - 4
接下来,关键的行转列的函数pivot出场了,通过这个函数我们把分数填充到转换的列语文、数学的列值。
declare @sql varchar(200)
select @sql=ISNULL(@sql+',','')+course from scoreInfo group by course
set @sql='select * from scoreInfo pivot(max(score) for course in ('+@sql+')) pivotTable'
exec(@sql) - 5
我们运行后,可以得到行转列的结果,如下图所示。
- 6
通过以上几个步骤,我们就可以轻松的实现行列转换了。同样,我们如果要把列转换成行, 应该怎么做呢?同样我们可以采用unpivot函数轻松实现。
declare @sql varchar(200)
select @sql=ISNULL(@sql+',','')+course from scoreInfo group by course
set @sql='select * from scoreInfo pivot(max(score) for course in ('+@sql+')) pivotTable unpivot(Score for Course in('+@sql+')) unPivotedTable'
exec(@sql)通过上面的sql语句,如下图所示:
aaarticlea/jpeg;base64,/9j/4A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EulCOlcPJlCLpy0rXAsohLJm4G8u9KFWmCCdwuyyE30HyLk+qhB0/ZUuYCESzUOYCADFQ3qG9QqTcpBYy3TxB7B0Kk3KPIZs8TrG/PLu0C0MPjo9GxUm5Skr1JuVJuVJuVJuVJuVJuVJuUJvUgRCIagc+x6UAU2jMFSbtKwLqlhjLVrGaJHRuZW46PJRAqBBcfVzUm5Um5Uyn1UeXw/8Akf/aAAwDAQACAAMAAAAQ6d80ZS8sAAAAAAAAAAAAAoN80kPcMMMMMMMIAAAAAA8AAAm6rwW/AAUjX888888s2win4HMPMcMMMM8888884+Mf/sb8c8888848888888YA8888p9888888888888s4wc8884888888s8888884cM0888t98888848888888AA88887r888888888888sM8c8888888888s888888//xAAqEQABAwIDCAEFAAAAAAAAAAABABHwITEQQWEgMEBRccHR4aFQgZGx8f/aAAgBAwEBPxBAuq2JLDgmxBwyJckngwjnMh3R0l/S5o2k6Kfbz70RtOXl8Dcyn8+Uc2lT2aOjpLe0NwcGRlqosXQfum4FkZaS0EHbLJka743kn42cpquXCZPvzXaeibfUEDr287VGrLpzT5n7+hf/xAAqEQABAgQEBQQDAAAAAAAAAAABABEhMUHwMFFh4RAgocHRQHGBsVCR8f/aAAgBAgEBPxATUSQS/sPPEB0Q3oXcQWUAGHo8lS8ztbqDnLcdnWSE7v3zgot8dfG2qDPeZ7NvwEhcf7M2BR8x9Du9sqXrtbquEMKaSBzJEIknQj06y+uD4wwuWsmqoszVXQgGxhJ7u9Tyid5hCRvPGEearIYwg/NV8eIH47+Oat6ISJ/XWxZP4H//xAAqEAEBAAIBAgUEAwEBAQEAAAABEQAhMUFREGFxsfEwkaHhIIHwwUBQ0f/aAAgBAQABPxCugVRQhsp3wwPKiAHVcriiG1ZrDMqoQw4sOGz758oz8oz8oz8ozrvigmoj6GKhjkTcjzBREE/i8ePHgpthUKIo8en/AKvaZkTeNn3ZQY35Hkb28a9O+K06oY33g5FbLReQxA0SBk1jacMu6nSB4UIK7zArcGiRoa4FXFjYhKEk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Atp0MMMhO1AhoI8m73DxeD1PfGHPSChwoK8bQ7pllHwUITopqDkgVlCXRAN2NPIBDRsh9M7lYSAXglSDbsYPOc7t9OJI83WfiPhunhgzWqWXdg7BpasaaHGio5413xC2+2QGzqSb/AIc3q++LDGpMTltEOqgJJtkE6UAVrsmOjElWwaM9jRRFISo7T/MBsioFNaFRP4H5H/H6ntM6mzAvQSuB0iPJk6CRwDQAcGf7Gf7GKwHqe+fPZ3YfYUf7NA06sh89lNSkuMRFTShFABCkYsfymr5CgqbQWkvnscEcPXPns+ez57Pns+ez57PnsMOnL188VJvYKAgeQVE6x2wKV8hBOq0VVu7a2kBeqElJLUTuuDn+mgxA2zrEE6Jj7hWVgJtFXmqvXPns+eyIEY9PT6ntM/xv/wAh/9k=" alt="" />
sql行列转换的更多相关文章
- SQL行列转换6种方法
在进行报表开发时,很多时候会遇到行列转换操作,很对开发人员针对于SQL级别行列转换操作一直不甚理解,今天正好抽空对其进行了一些简单的总结.这里主要列举3种可以实现SQL行列转换的方法,包括通用SQL解 ...
- 数据透视表sql:用SQL行列转换实现数据透视的一些思考
用SQL行列转换实现数据透视的一些思考 摘要:根据对报表开发过程中碰到的需要用SQL行列转换进行解决的一类查询统计问题的分析,逐步探索求解得到一种较通用的解决思路,并用函数进行实现.该解决思路及函数实 ...
- mysql:sql行列转换
今天一个同学遇到一个问题问我了,由于本人平时学习的mysql比较基础,确实没解决,后来google了一下,才知道是sql的一种技法[行列转换],话不多说先上图: 想得到下面的结果: +------+- ...
- SQL行列转换:报表_公司采购表_每个公司各采购了些什么产品
有同学问了个比较典型行列转换的问题,想想,解答如下:数据库有一张表: 是个公司采购表,想转化成如下报表,显示每个公司各采购了些什么产品: 哪些公司采购哪些产品是不确定的,所以报表的列有哪几项是不确定的 ...
- 绝妙的SQL行列转换语句
说明:普通行列转换(version 1.0)仅针对sql server 2000提供静态和动态写法,version 2.0增加sql server 2005的有关写法. 问题:假设有张学生成绩表( ...
- 经典SQL行列转换
-- http://www.programbbs.com/doc/4885.htm /* 标题:普通行列转换(version 2.0) 说明:普通行列转换(version 1.0)仅针对sql ser ...
- SQL 行列转换简单示例
SQLSERVER 2005 以后提供了新的方式进行行列转换,下面是一个实例供参考: if object_id('tb') is not null drop table tbTest go ),季度 ...
- Sql行列转换参考
行列转换:SELECT max(case type when 0 then jine else 0 end) a,max(case type when 1 then jine else 0 end) ...
- SQL 行列转换数据转换为字符串
行列转换,将列数据转换为字符串输出 ) SET @center_JZHW = ( SELECT DISTINCT STUFF( ( SELECT ',' + ce_code FROM ap_cente ...
随机推荐
- 60. Insert Interval && Merge Intervals
Insert Interval Given a set of non-overlapping intervals, insert a new interval into the intervals ( ...
- TCP/IP协议学习笔记
计算机网络基础知识复习汇总:计算机网络基础知识复习 HTTP协议的解析:剖析 HTTP 协议 一个系列的解析文章: TCP/IP详解学习笔记(1)-- 概述 TCP/IP详解学习笔记(2)-- 数据链 ...
- sed 命令及shell的if语句的运用实例
if [ -f /etc/syslog.conf ]; #判断文件是否存在thensystest=`sed -n '/^auth.info/p' /etc/syslog.conf`; ...
- 如何在不同编程语言中获取现在的Unix时间戳(Unix timestamp)
Java time JavaScript Math.round(new Date().getTime()/1000)getTime()返回数值的单位是毫秒 Microsoft .NET / C# ep ...
- Mysql数据库的使用经验总结
1. 对mysql插入中文的时候显示乱码,搞了很多天,把服务端.客户端和数据库的编码全改为u8了又重新创建数据库和表还是不行,到最后却发现没有乱码!原来只是windows的cmd没有支持u8,换个客户 ...
- c# 文件夾操作
#region 圖片對應異動 string newFilePath = "~/FileUpLoad/Book/" + bookModel.BookNo; ...
- {Reship}Precision, Accuracy & Recall
============================================================== This aritcle came from here ========= ...
- Xcode 字体 设置-- Xcode family没有显示的字体
前往文件夹 -> /Users/user/Library/Developer/Xcode/UserData/FontAndColorThemes/ (user改为自己的用户名) -----如果 ...
- g++与c++扩栈方法
g++: /* * Problem: * Author: SHJWUDP * Created Time: 2015/8/5 星期三 15:54:42 * File Name: tmp.cpp * St ...
- yii学习第一课 《命名空间》
<?php namespace a\b\c; class Apple { function getInfo() { echo 'this is a<br>'; } } <?ph ...