Question: How do I write an SQL statement using the data table to find out what are the names and length of shorelines, in order of
How do I write an SQL statement using the data table to find out what are the names and length of shorelines, in order of descending shoreline in the U.S., of the Great Lakes that have shorelines in both Canada and the U.S.?
| In_Country | On_Lake | Shorline |
|---|---|---|
| Canada | Lake Erie | 400 |
| United States | Lake Erie | 470 |
| Canada | Lake Huron | 1000 |
| United States | Lake Huron | 850 |
| United States | Lake Michigan | 1600 |
| Canada | Lake Nipigon | 150 |
| Canada | Lake Ontario | 360 |
| United States | Lake Ontario | 300 |
| Canada | Lake Superior | 750 |
| United States | Lake Superior | 1000 |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
