Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

sql please For all countries in 'Western Europe' region that have a population of less than 10,000,000, change the the life expectancy to 80. 1.

image text in transcribed

image text in transcribed

sql please

For all countries in 'Western Europe' region that have a population of less than 10,000,000, change the the life expectancy to 80. 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

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

How To Build A Million Dollar Database

Authors: Michelle Bergquist

1st Edition

0615246842, 978-0615246840

More Books

Students also viewed these Databases questions