Forum Discussion

sidpoly's avatar
sidpoly
Copper Contributor
Aug 24, 2023

Transpose of Rows to Columns based on a column

There is a table presented below 

 

Employee_nameDepartment_name
AIT
BIT
CCS
DCS

 

Expected output for the above table should look like

 

Department_NameEmployeeEmployee
ITAB
CSCD

 

Possible way to write the SQL Query?

 

No RepliesBe the first to reply

Resources