Question: 4. 15 points- SQL queries Write SQL queries using the database schema for World War II Ships: Classes(class, type, country, numGuns, bore, displacement) Ships(name, class,

 4. 15 points- SQL queries Write SQL queries using the database

4. 15 points- SQL queries Write SQL queries using the database schema for World War II Ships: Classes(class, type, country, numGuns, bore, displacement) Ships(name, class, launched) Battles(name, date) Outcomes(ship.battle, result) Query 1: List for each class the number of ships of that class that was sunk in a battle. Query 2: For each battle, list the number of ships that were launched before the battle, and the number of ships that were either sunk or damaged in the battle

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!