Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This is an introduction to the next few questions. No response is needed for this item. The world database is a built - in schema
This is an introduction to the next few questions. No response is needed for this item.
The world database is a builtin schema of MySQL containing information about more than countries and cities of the world such as their population, capitals, languages spoken, area, and economy size, etc. The database stores its information in three tables that are connected with each other by relationships: country, city, and countrylanguage. In the following questions, you may assume that world has been set as the default database. To be automatically graded by Canvas, you must type your answer exactly the way that MySQL accepts in the shortest possible form with no unnecessary spaces.
Write a query to list all Asian countries by name whose LifeExpectancy is or below, from the highest to the lowest.
Write a query to list all the countries by their names together with the average size of its cities populations, from the largest to the smallest.
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