当前位置: 动力学知识库 > 问答 > 编程问答 >

SQL Query for a report formatting

问题描述:

Need help on SQL in Oracle to show results like below

YEAR MONTH EVENT_TYPE TOTAL_RECORDS

----- ------------------------------------- ---------- -------------

2016 June 214 4368

130 1025

168 255

July 214 1

130 1

168 1

OR

YEAR MONTH 214 130 168

---- ----- ---- ---- ----

2016 June 4368 1025 255

July 1 1 1

分享给朋友:
您可能感兴趣的文章:
随机阅读: