Classes (class, type, country, numGuns, bore, displacement) Ships (name, class, launched) Battles (name, date) Outcomes (ship, battle, result) For the battleships database schema above (record examples attached), write the following as tuple-based CHECK constraints (ie. during the table creation): a) No ship can be in battle before it is launched.
Classes (class, type, country, numGuns, bore, displacement) Ships (name, class, launched) Battles (name, date) Outcomes (ship, battle, result) For the battleships database schema above (record examples attached), write the following as tuple-based CHECK constraints (ie. during the table creation): a) No ship can be in battle before it is launched.
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
Classes (class, type, country, numGuns, bore, displacement)
Ships (name, class, launched)
Battles (name, date)
Outcomes (ship, battle, result)
For the battleships
a) No ship can be in battle before it is launched.

Transcribed Image Text:пате
class
launched
California
Tennessee
1921
Kongo
Kongo
Iowa
Haruna
1915
Нiei
1914
Iowa
1943
1915
Kongo
Kongo
Kirishima
Kongo
1913
Missouri
Iowa
1944
Musashi
Yamato
1942
1943
New Jersey
North Carolina
Ramillies
Iowa
North Carolina
1941
Revenge
1917
Renown
Renown
1916
Renown
1916
Repulse
Resolution
1916
Revenge
Revenge
Revenge
1916
Revenge
Royal Oak
Royal Sovereign Revenge
1916
1916
Tennessee
Tennessee
1920
North Carolina | 1941
Washington
Wisconsin
Iowa
1944
Yamato
Yamato
1941
Figure 2.23: Sample data for relation Ships

Transcribed Image Text:class
type | country
Germany
numGuns | bore | displacement
Bismarck
bb
8.
15
42000
Iowa
bb
USA
16
46000
Kongo
North Carolina bb
bc
Jаpan
USA
8
14
32000
9
16
37000
Renown
bc
Gt. Britain 6
15
32000
Revenge
Tennessee
Gt. Britain 8
bb
15
29000
bb
USA
12
14
32000
Yamato
bb
Jаpan
18
65000
(a) Sample data for relation Classes
| date
Denmark Strait 5/24-27/41
пате
Guadalcanal
11/15/42
North Cape
12/26/43
Surigao Strait 10/25/44
(b) Sample data for relation Battles
ship
battle
result
Arizona
Pearl Harbor
sunk
Denmark Strait sunk
Surigao Strait | ok
North Cape
Surigao Strait sunk
Denmark Strait sunk
Bismarck
California
Duke of York
ok
Fuso
Ноod
King George V
Kirishima
Denmark Strait ok
Guadalcanal
sunk
Prince of Wales
Denmark Strait damaged
Rodney
Scharnhorst
Denmark Strait ok
North Cape
sunk
South Dakota
Guadalcanal
damaged
Tennessee
Surigao Strait
Guadalcanal
ok
Washington
West Virginia
Yamashiro
ok
Surigao Strait ok
Surigao Strait sunk
(c) Sample data for relation Outcomes
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps

Recommended textbooks for you

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY