Hi, here is a part of database:
SO CODE_ID EXT_TEXT
1251111 1 aaaa
1251111 2 bbbb
1251113 1 cccc
1251113 2 dddd
I need to write excel sql query to get something like this
SO EXT_TEXT_LINE_1 EXT_TEXT_LINE_2
1251111 aaaa bbbb
1251113 cccc dddd
The problem is how to transpose EXT_TEXT into two separate columns as a result of this query.
Anyone could help?
SO CODE_ID EXT_TEXT
1251111 1 aaaa
1251111 2 bbbb
1251113 1 cccc
1251113 2 dddd
I need to write excel sql query to get something like this
SO EXT_TEXT_LINE_1 EXT_TEXT_LINE_2
1251111 aaaa bbbb
1251113 cccc dddd
The problem is how to transpose EXT_TEXT into two separate columns as a result of this query.
Anyone could help?