Question: sql please For all countries whose government form is a 'Federal Republic', and whose official language is either 'English' or 'German', add 100,000 to their

 sql please For all countries whose government form is a 'Federal

sql please

Republic', and whose official language is either 'English' or 'German', add 100,000

For all countries whose government form is a 'Federal Republic', and whose official language is either 'English' or 'German', add 100,000 to their population, set their GNPOld to be equal to their current GNP, then increase their current GNP by 10,000 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!