Skip to content
Advertisement

Oracle SQL query to get Weekly Records

I have oracle database table ‘my_table’ with few sample rows as following-

I want to get output in following format –

How to combine following three queries to get the desired output in above format using one query?

Advertisement

Answer

You might use:

Rextester Demo

or you may prefer in a little different way as :

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