我有一个显示如下记录的存储过程。
AccountID AccountName Amount ParentAccountID ParentAccountName
ABI01 Cost of infrastructure A 1077665.4 INF Infrastructure
ABI02 Cost of infrastructure B 42000 INF Infrastructure
ABM01 Cost of Maintenance A 465900 MTN MAINTENANCE
ABM02 Cost of Maintenance B 3450000 MTN MAINTENANCE
ABO01 Cost of Operational A 110500 ABM02 Cost of Maintenance B
我想要一个水晶报告来显示这样的结果:
INF : Infrastructure
ABI01 Cost of infrastructure A 1077665
ABI02 Cost of infrastructure B 42000
MTN : Maintenance
ABM01 Cost of Maintenance A 465900
ABM02 Cost of Maintenance B 3450000
ABO01 Cost of Operational A 110500
有可能实现吗?感谢您的帮助..顺便说一句,如何使桌子在 SO 中看起来不错?