Question: Need Tuple Relarion Calculus, Domain Relation Calulus, SQL, Datalog and Relational algebra for below schema Classes(class, type, country, numGuns, bore, displacement) Ships(name, class, launched) Battles(name,

Need Tuple Relarion Calculus, Domain Relation Calulus, SQL, Datalog and Relational algebra for below schema

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

Ships(name, class, launched)

Battles(name, date)

Outcomes(ship, battle, result)

a) Find the ships heavier than 35,000 tons.

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

c) 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 and battlecruisers.

e) Find those ships that were damaged in one battle, but later fought in

f) Find those battles with at least three ships of the same country.

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!