Skip to content
Advertisement

How to retrieving data as customized format

  1. I retrieved some data as below (image 01).

i used this query:

Image 01

  1. But I want that, like this type as below (image 02)

image 02

Advertisement

Answer

You can use conditional aggregation and window functions:

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement