Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Tasks
7. Task 3

Instruction

Very good! Are you ready for a more complicated task? The next information will be about states with the least and greatest total area – in other words, the biggest and smallest states.

Exercise

Write an SQL query selecting the least total area of a state and the greatest total area. Name the columns: min_total_area and max_total_area.

Stuck? Here's a hint!

Use the aggregate functions MIN() and MAX() with total_area as the argument.

Stuck? You'll find out more in the Aggregation section from our SQL Basics course.