Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

TLD ISOCode 3 PopDensity Population . hr HRV 1 8 9 . 2 4 0 9 0 0 0 0 . sy SYR 2 3

TLD ISOCode3 PopDensity Population
.hr HRV 189.24090000
.sy SYR 238.516910000
.om OMN 40.44830000
Statistics
ISOCode2 Domain Area Capital
HR .hr 21600 Zagreb
SY .sy 70900 Damascus
OM .om 119500 Muscat
An arrow points from the Statistics table's Domain column to the Country table's primary key column.CREATE TABLE Statistics (
Domain CHAR(3),
ISOCode2 CHAR(2),
Area DECIMAL(9,2),
Capital VARCHAR(15),
PRIMARY KEY (ISOCode2),
FOREIGN KEY (Domain)
REFERENCES Country(TLD)
ON DELETE CASCADE
ON UPDATE RESTRICT
);The CREATE TABLE statement above creates the Statistics table. What is the result of each operation?Updating the TLD of SYR from .sy to .xy.
Select
Deleting the foreign key .sy from the Statistics table.
Select
Deleting the row containing SYR from the Country table.
Select

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_2

Step: 3

blur-text-image_3

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

Pro PowerShell For Database Developers

Authors: Bryan P Cafferky

1st Edition

1484205413, 9781484205419

More Books

Students also viewed these Databases questions