Keep distinct delivery combinations

A delivery company stores the following seven records in delivery_options. Fees are exact whole numbers of US dollars, and every value is non-NULL.


option_id

zone

fee_usd

201

East

0

202

West

5

203

East

5

204

East

0

205

West

10

206

West

5

207

East

5


The company runs this single-table query:


SQL
SELECT DISTINCT zone, fee_usd
FROM delivery_options
ORDER BY zone ASC, fee_usd ASC;


Complete the four output rows in their returned order. Enter each zone exactly as shown and each fee as an exact integer in US dollars.

Output rowZoneFee (USD)
1
2
3
4

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Single Table Queries Questions: