Question: sql please For all countries where their surface area is greater than 1,000,000, or who have a GNP between 1 Million and 5 Million, list

sql please

For all countries where their surface area is greater than 1,000,000, or who have a GNP between 1 Million and 5 Million, list the code and name of the countries, as well as the name and population of all cities in those countries. (Do not use table aliases). 1. CREATE SCHEMA world'; USE world's 2. 3 5 6 8 19 11 4.CREATE TABLE `country'( Code' char(3) NOT NULL DEFAULT", Name char(52) NOT NULL DEFAULT 7 Continent" enum('Asia', 'Europe', 'North America', 'Africa', 'Oceania', 'Antarctica', 'South America') NOT NULL DEFAULT 'Asia', Region char(26) NOT NULL DEFAULT", 9 SurfaceArea' decimal(10,2) NOT NULL DEFAULT '0.00', IndepYear'smallint DEFAULT NULL, Population int NOT NULL DEFAULT '0', 12 LifeExpectancy decimal(3,1) DEFAULT NULL, GNP decimal(10,2) DEFAULT NULL, GNPOld decimal(10,2) DEFAULT NULL, 15 LocalName char(45) NOT NULL DEFAULT ", GovernmentForm" char(45) NOT NULL DEFAULT", HeadofState' char(60) DEFAULT NULL, Capital int DEFAULT NULL, 19 Code2 char(2) NOT NULL DEFAULT", 20 PRIMARY KEY (Code) 21 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; 13 14 16 17 18
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
