本文介绍了将数据表行交换为列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我通过这种方式具有带有值的数据表
日期计数名称
2010年1月31日1日(Mithu)
2010年1月31日2 Pratu
2010年1月2日3日(Mithu)
2010年2月2日4 Pratu
2010年2月2日5 Mahu
现在,我需要根据此值再创建一个数据表,并且应该像这样
日期Mithu Pratu Mahu
2010年1月31日1 2 0
2010年1月2日3 0 0
2010年2月2日0 4 5
any1可以帮助我吗
Hi i have datatable with values in this way
Date Count Name
31/01/10 1 Mithu
31/01/10 2 Pratu
01/02/10 3 Mithu
02/02/10 4 Pratu
02/02/10 5 Mahu
Now i need to create one more datatable from this values and should be like this
Date Mithu Pratu Mahu
31/01/10 1 2 0
01/02/10 3 0 0
02/02/10 0 4 5
can any1 help me plss
推荐答案
这篇关于将数据表行交换为列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!