我在 MySQL 的一个临时表中有这些列
DetectionDate,CountSyslogs,CountTraps,CountNetworkOriginatedEvents,CountNetworkServicesEvents
2013-09-21 66 55 88 150
2013-09-23 99 100 150 200
我需要显示这样的数据
DetectionDate,orderNum, Type ,count
2013-09-21 1 Syslogs 66
2013-09-23 1 Syslogs 99
2013-09-21 2 Traps 55
2013-09-23 2 Traps 100
2013-09-21 3 NetworkOriginatedEvent 88
2013-09-23 3 NetworkOriginatedEvent 150
2013-09-21 4 NetworkServicesEvents 150
2013-09-23 4 NetworkServicesEvents 200