Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write the SQL table for database 2 and 3 with proper primary key and attributes ? Fil: Ei Vi Windom Helo Home Tools sign In

image text in transcribedWrite the SQL table for database 2 and 3 with proper primary key and attributes ?

Fil: Ei Vi Windom Helo Home Tools sign In Database 2: Here is another database schema concerning World WarI capital ships. It involves the following relations Classes (class, type, country, guns, bore, displacement) Ships (name, class, launched) Battles (name, bdate) Outcomes (ship, battle, result) Comvat to Dcc.ment Lanqusg: Englsh us) Change Ships are built in classes" from the same design, and the class is usually named for the first ship of that class. The relation Classes records the name of the class, the type ('bb' for battleship or'bc' for battlecruiser), the country that built the ship, the number of main guns, the bore (diameter of the gun barrel, in inches) of the main guns, and the displacement (weight, in tons). Relation Ships records the name of the ship, the name of its class, and the year in which the ship was launched. Relation Battles gives the name and date of battles involving these ships, and relation Outcomes gives the result (sunk, damaged, or ok) for each ship in each battle Convert Create PDF Comment Combine Files v EOrgize Pages Database 3: Assume a book store has a mail-order database with the following schema of relations (Primary keys are underlined. Meaning of each attribute is self-explanatory by its name.) Protet Rodact rill &Sig Employees (Eno, Ename, Hire Date; Books (Isbn, Bname, Quantity, Price); Customers (Cno, Cname, Street, Zip, Phone); Orders (Ono, Cno, Eno, Received, Shipped); Orderline (Ono, Isbn, Qty); Zipcodes (Zip, City, State); Send for Signature . Send & Track More 10015 nd share files in Lesm More E O lype here to search

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

Big Data In Just 7 Chapters

Authors: Prof Marcus Vinicius Pinto

1st Edition

B09NZ7ZX72, 979-8787954036

More Books

Students also viewed these Databases questions

Question

General Purpose of Your Speech Analyzing Your Audience

Answered: 1 week ago

Question

Ethical Speaking: Taking Responsibility for Your Speech?

Answered: 1 week ago