SQL - Window Functions Fundamentals
Which of the following is the correct syntax to calculate a running total of sales per department using
OVER with PARTITION BY?OVER with PARTITION BY?PARTITION BY before ORDER BY inside the parentheses after OVER.SUM(sales) OVER (PARTITION BY department ORDER BY date). Others misplace PARTITION BY or OVER keywords.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions