Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started