Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

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

Spatio Temporal Database Management International Workshop Stdbm 99 Edinburgh Scotland September 10 11 1999 Proceedings Lncs 1678

Authors: Michael H. Bohlen ,Christian S. Jensen ,Michel O. Scholl

1999th Edition

3540664017, 978-3540664017

More Books

Students also viewed these Databases questions

Question

5. How can you develop media literacy?

Answered: 1 week ago

Question

Question Can life insurance be used in a Keogh (HR 10) plan?

Answered: 1 week ago