Question: HAVING and sorting Filtering and sorting go hand in hand and gives you greater interpretability by ordering our results. Let's see this magic at work
HAVING and sorting
Filtering and sorting go hand in hand and gives you greater interpretability by ordering our results.
Let's see this magic at work by writing a query showing what "countries have the highest average film budgets.
Instructions
Select the country and the average budget as averagebudget, rounded to two decimal, from films
Group the results by
Filter the results to countries with an average budget of more than one billion
Sort by descending order of the averagebudget
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
