In some occasions it is necessary to concatenate data from a number of rows into a single row. Using HR.DEMO table as an example , we want to retrieve a list of employees for each department. Base Data : Desired Output :
In some occasions it is necessary to concatenate data from a number of rows into a single row. Using HR.DEMO table as an example , we want to retrieve a list of employees for each department. Base Data : Desired Output :