Skip to content
Advertisement

Hana SQL Logic needed

This query gives output like :

enter image description here

What i need is to display the value 5 for all the groupids in a column say Total. Something like this :

enter image description here

how can this be achieved using Hana Sql.

Advertisement

Answer

Am from sql server background hope sum() over() will exist in Hana, try the below solution

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