Skip to content
Big Data
IQ
Minds
Data
•
Insights
•
Impact
Learn
Practice
Services
About
Skip to content
Big Data
IQ
Minds
Data
•
Insights
•
Impact
Learn
Practice
Services
About
Question bank
/ SQL
Regions above a revenue threshold
SQL
Beginner
multiple choice
Sample content
Save
Mark complete
Which query returns regions whose
total
revenue exceeds 500,000?
Choose one answer
SELECT region, SUM(revenue) FROM sales WHERE SUM(revenue) > 500000 GROUP BY region;
SELECT region, SUM(revenue) FROM sales GROUP BY region HAVING SUM(revenue) > 500000;
SELECT region, revenue FROM sales WHERE revenue > 500000;
SELECT region FROM sales HAVING revenue > 500000;
Check answer
Show a hint
Show worked solution
Practise in the Coding Lab
Your attempts: 0 · correct: 0 · incorrect: 0
Related learning:
SQL & Database Querying
Discussion
Sign in
to join the discussion.