Question: Exercise 6.3.2: Write the following queries, based on the database schema Classes (class, type, country, numGuns, bore, displacement) Ships(name, class, launched Battles (name, date) Outcomes

 Exercise 6.3.2: Write the following queries, based on the database schema

Exercise 6.3.2: Write the following queries, based on the database schema Classes (class, type, country, numGuns, bore, displacement) Ships(name, class, launched Battles (name, date) Outcomes (ship, battle, result) of Exercise 2.4.3. You should use at least one subquery in each of your answers and write each query in two significantly different ways (e.g., using different sets of the operators EXISTS, IN, ALL, and ANY) a) Find the countries whose ships had the largest number of guns ! b) Find the classes of ships, at least one of which was sunk in a battle c) Find the names of the ships with a 16-inch bore. d) Find the battles in which sips of the Kongo class participated

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!