Question: Provide your SQL query code to the following questions based on the given database schemas. List the cities and countries, where the cities have a

Provide your SQL query code to the following questions based on the given database schemas.
List the cities and countries, where the cities have a population higher than their own countries average population and the countries are independent after year 1900.
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
Get step-by-step solutions from verified subject matter experts
