Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Provide your SQL query code to the following questions based on the given database schemas. 1. List the countries that have the smallest surface areas

image text in transcribed

Provide your SQL query code to the following questions based on the given database schemas.

1. List the countries that have the smallest surface areas in each region of each continent. Sort the result by the country names in an ascending order and the surface areas in a descending order.

dboCountry [Design] Update Script File dbo.Country.sql Name Code Name Continent Region SurfaceArea IndepYear Population LifeExpectancy GNP GNPOld LocalName GovernmentForm HeadOfState Capital Code2 Data Type Allow Nulls Default varchar(35) varchar(35) ('') varchar(35) ('Asia') varchar(35) real int int real real real varchar(35) ('') varchar(35) varchar(35) (NULL) int varchar(35) (NULL) (NULL) (NULL) (NULL) (NULL) (NULL) (NULL) dbo-City [Design] Update | Script File: dbo.Citysql Data Type Allow Nulls int varchar(35) varchar(35) varchar(35) int Name Default o ID Name CountryCode District Population ('')

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

Step: 3

blur-text-image

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

PC Magazine Guide To Client Server Databases

Authors: Joe Salemi

1st Edition

156276070X, 978-1562760700

Students also viewed these Databases questions

Question

10. Are you a. a leader? b. a follower? _______

Answered: 1 week ago