如果源表是:
City 1996-MAY 1996-june 1996-july 1996-aug 1996-sep 1996-okt
----------- -------- -------- -------- -------- -------- --------
New Orleans 6 3 3 3 3 3
Los Angeles 4 3 3 3 3 3
select city, 1996-MAY, 1996-june, 1996-july, 1996-aug, 1996-sep, 1996-okt
from a
请求的结果是:
City People Date
----------- -------- --------
New Orleans 6 1996-MAY
Los Angeles 4 1996-MAY
New Orleans 3 1996-june
Los Angeles 3 1996-june
New Orleans 3 1996-july
Los Angeles 3 1996-july
.... ... .....
我该怎么做?
这不仅是一列,而且是截至 2003 年 5 月的许多列。