本文介绍了如何在SQL SERVER中使用Pivot的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在sql server中使用pivot在这5个程序runnig中有5个学院。在那一个大学runnig 5个程序和另一个大学runnig 3个程序,另一个大学运行2个程序。什么时候在sql server中使用pivot每个大学显示5个程序,但我想要一个大学runnig 5个程序和另一个大学runnig 3程序,另一个大学运行2个这样的程序。如何只使用一个select命令

How to use pivot in sql server here am having 5 colleges in that 5 programs runnig. in that one college runnig 5 programs and another college runnig 3 programs, another college running 2 programs. when am using pivot in sql server each college displaying 5 programs but i want one college runnig 5 programs and another college runnig 3 programs, another college running 2 programs like this. how to use only one select command

推荐答案



这篇关于如何在SQL SERVER中使用Pivot的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-24 22:23