SQL - Window Functions Fundamentals
Consider the table
What will be the result of this query?
Orders with columns Customer and Total:Customer | Total
Anna | 200
Ben | 200
Clara | 150What will be the result of this query?
SELECT Customer, RANK() OVER (ORDER BY Total DESC) AS Rank FROM Orders;
