Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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,

image text in transcribed

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

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

Relational Database Design With Microcomputer Applications

Authors: Glenn A. Jackson

1st Edition

0137718411, 978-0137718412

More Books

Students also viewed these Databases questions

Question

=+Where do you want to live and work?

Answered: 1 week ago