I got the results as below after querying the multiple tables in our database (oracle database 12c enterprise edition).
but we would like to see the table as:
there are more than 100 rows in the table and also when I write the PIVOT command in the query window, it doesn't highlighted with any colour as other commands do. so please help me out of this scenario.
Best Answer
Note that
PIVOT
requires an aggregate function, I could have used for exampleMAX
as well.