Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need Relational algebra for below schema Relational Schema: Classes(class, type, country, numGuns, bore, displacement) Ships(name, class, launched) Battles(name, date) Outcomes(ship, battle, result) a) List the

Need Relational algebra for below schema

Relational Schema:

Classes(class, type, country, numGuns, bore, displacement)

Ships(name, class, launched)

Battles(name, date)

Outcomes(ship, battle, result)

a) List the name, displacement, and number of guns of the ships engaged in the battle of Guadalcanal.

b) List all the ships mentioned in the database. (Remember that all these ships may not appear in the Ships relation.)

d) Find those countries that have both battleships (bb) and battlecruisers (bc).

e)Find those ships that "lived to fight another day"; they were damaged in one battle and later fought in another. (hint: join outcomes with battles, for the date, and then work with that intermediate result)

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_2

Step: 3

blur-text-image_3

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

OCA Oracle Database SQL Exam Guide Exam 1Z0-071

Authors: Steve O'Hearn

1st Edition

1259585492, 978-1259585494

More Books

Students also viewed these Databases questions

Question

Bring out the limitations of planning.

Answered: 1 week ago

Question

Why should a business be socially responsible?

Answered: 1 week ago

Question

Discuss the general principles of management given by Henri Fayol

Answered: 1 week ago

Question

Detailed note on the contributions of F.W.Taylor

Answered: 1 week ago