Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using World database on MySQL Server as the sample database, write SQL statements to solve the following questions (5points/each). 6. List all the countries in
Using World database on MySQL Server as the sample database, write SQL statements to solve the following questions (5points/each). 6. List all the countries in North America, and sort the result first by region, and second by surface area in descending order. 7. Find out what is the official language in USA, Canada, China, Mexico, and Brazil. 8. Find out the city that has the largest population in China (need to display both the name of the city and the population). 9. Find out the city that has the lowest population in the USA (need to display both the name of the city and the population). 10. Find out the top 10 cities that have the largest population in the USA (need to display both the name of the cities and the corresponding population). The world database is found online but I just need the sql statements. Please and Thank you!
6. List all the countries in North America, and sort the result first by region, and second by surface area in descending order.
7. Find out what is the official language in USA, Canada, China, Mexico, and Brazil.
8. Find out the city that has the largest population in China (need to display both the name of the city and the population).
9. Find out the city that has the lowest population in the USA (need to display both the name of the city and the population).
10. Find out the top 10 cities that have the largest population in the USA (need to display both the name of the cities and the corresponding population).
The world database is found online but I just need the sql statements. Please and Thank you!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started