Skip to content
Advertisement

Range based window Frame can have only 1 sort key

Ive tried to run the next query

And in Result i have the next error message:

Is it true, that i cant use 2 sort keys in order by sentence? Or there is a way how can i use 2 sort keys?

Advertisement

Answer

Your code should work. The language manual has a very similar example.

That said, an explicit window clause might get around the error:

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