I have a query like below and listed output of it:
SELECT DISTINCT TRACKING_NUM,TITLE_OF_DOC_SEC
FROM some_table
WHERE TRACKING_NUM IS NOT NULL;
o/p:
TRACKING_NUM TITLE_OF_DOC_SEC
007 Email Flow
007 Test Bug 53306
007 Title 1119
007 Title Test
007 test bug
009 1156
089 Title 21173
098 test Doc Section
I want to re write the query so that get an output to be like this:
TRACKING_NUM TITLE_OF_DOC_SEC
007 Email Flow,Test Bug 53306,Title 1119,Title Test,test bug
009 1156
089 Title 21173
098 test Doc Section
can anyone help?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…