How to pivot vertical rows record of SQL Server table into column data. I have tried few queries but not able to achieve the result.
I have a table called TRANSACTIONLOG
which has three columns
CREATEDATE, TRANSACTION, COUNTS
I need to GROUP the record on CREATEDATE
and show transaction types as a column and COUNTS as its value.
Below is what the result should look like -