Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Youre now ready to begin. Answer each question below by creating an SQL query using SQLite as described above. Create a document with your name

Youre now ready to begin. Answer each question below by creating an SQL query using SQLite as described above. Create a document with your name and assignment number at the top. For each exercise, state the question and provide a screen capture showing the SQL statement you wrote along with the results it produced. For example, if an exercise asked you to display the name and surface area of all countries in the continent of Antarctica, you would provide a screen shot like the one in the figure below.

1. Show the name, continent, and population of every country whose population is under 100,000. Order your results by population from highest to lowest.

2. Show the name and population of every country in the continent of Oceania whose population is at or above 20,000. Order your results by country name.

3. Display a list of every continent and present the list in alphabetical order.

4. Of all the countries located in Asia, which has the highest life expectancy?

5. Display the name, continent, and population of every country in Europe and Asia. Order the results by Continent, and then by country name within the continent.

6. Display the name, continent, and population of all countries with island in their name.

7. Display a list of countries that have gained their independence since 1950.

8. Show the top ten countries with the highest gross national product (GNP).

9. Show, for each region of the world, the countries in that region ranked by highest to lowest surface area; order the continents alphabetically.

10. Display a list of the ten highest populated cities in the world.

image text in transcribed

CI5 171 Chapter 7 AssignmentE x+ C G Search Google or type URL JavaScnpt&JOuery:Anzona State Univers S IM Chos Advanced L CIS 171 Chapter 7 Assignment B.pdf 213 SELECT Name, SurfaceAr FROM Country WHERE Continent = 'Antar ctica'; Name SurfaceArea 13120000.0 Antarctica 2 Bouvet Island 3 South Georgia and the South Sandwich Islands 3903.0 4 Heard Island and McDonald Islands 5 rows returned in lms from: SELECT Name, SurfaceArea FROM Country WHERE Continent'Antarctica' 11:26 PM E O Type here to search Ci rP i q': 11/10/2018

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2017 Skopje Macedonia September 18 22 2017 Proceedings Part 3 Lnai 10536

Authors: Yasemin Altun ,Kamalika Das ,Taneli Mielikainen ,Donato Malerba ,Jerzy Stefanowski ,Jesse Read ,Marinka Zitnik ,Michelangelo Ceci ,Saso Dzeroski

1st Edition

3319712721, 978-3319712727

More Books

Students also viewed these Databases questions

Question

Set goals and map progress for the region.

Answered: 1 week ago