如何在sql server中合并单元格 [英] how to merge cell in sql server

查看:412
本文介绍了如何在sql server中合并单元格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我的结果设置为



Hi,
I have a results set as

type      |  category    |  count 

computer  |  pc          | 2
          |  keyboard    | 2
          |  moniter     | 2
Furniture |  chairs      | 2
          |  cupboard    | 2
          |  moniter     | 2





i希望结果集合并计算机和家具下方的空列

它是否可以存在。



i want the resultset as merging the empty column below computer and furniture
can it wll be posible.

推荐答案

这里 [ ^ ]是关于将数据列表转换为数据透视表或单个单元格的文章。
Here[^] is my article on turning lists of data in to a pivot, or in to one cell.


这篇关于如何在sql server中合并单元格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆