server ocurrences date
A 122 20200101
B 1 20200101
C 15 20200101
............
I'm tring to get these result:
A B C
20200101 122 1 15
I make these query:
select server, ocurrences, date FROM NET_REPORT
where to_char(date,'YYYYMMDD') >= '20200101'
AND server IN ('A','B','C') GROUP BY date, server,ocurrences ORDER BY date,server;
But I can't get what I want.
Could you help me please?
Thanks