Question: Write each of the queries in SQL making sure that duplicates are eliminated: Classes(class, type, country, numGuns, bore, displacement) Ships (name, class, launched) Battles (name,

Write each of the queries in SQL making sure that duplicates are eliminated:

Classes(class, type, country, numGuns, bore, displacement) Ships (name, class, launched) Battles (name, date) Outcomes (ship, battle, result) a. Give the class name and countries of the classes that carried guns of at least 16-inch bore b. Find the ships launced prior to 1921 c. Find the ships sunk in the battle of Denmark Strait d. The treaty of Washington n 1921 prohibited capital ships heavier than 35000 tons. List the ships that violated the Traty of Washington e. List the name, displacement, and the number of guns f the ships engaged in the battla of Guadalcanal f. List all of the capital ships mentioned in the database

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!