Location matters

Report a typo

Look at the incomplete query below. What should you change, if you want to sort the results by baby_age?

SELECT
 gender,
 baby_age,
 AVG(baby_height) OVER(PARTITION BY gender ORDER BY baby_age) AS avg_height 
FROM babies;
Select one option from the list
___

Create a free account to access the full topic