Oracle has the ability to create a result set that transposes or pivots columns and rows to provide a summary. This is done using the SQL PIVOT keyword. This keyword was introduced in Oracle 11g. This keyword is applied to aSELECT statement, and looks like this: SELECTcolumnsFROMtablesPIVOT[...
NOTE :This post is about splitting a single comma delimited string. If you have to apply it on a table with multiple rows having comma delimited strings, then look atSplit comma delimited strings in a table using Oracle SQL This is one of the most common questions in most of the Oracle ...