Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q1. (30 pts.) Recall from somewhere? Consider this as a second chance and do your best to benefit from this favor. Consider a database

image text in transcribed

Q1. (30 pts.) Recall from somewhere? Consider this as a second chance and do your best to benefit from this favor. Consider a database with the following scheme: Captain: captainID, name, experience, rating, age Ship: shipID, class, model, passengerCapacity, range, flag Route: routeID, fromCity, toCity, distance SailTrip: tripID, routeID, shipID, captainID, startDate, endDate, noOfPassangers, income a. (10 pts.) Write an SQL query to retrieve the following information: "Find name, experience, and ratings of captains who had sailed from zmir to Southampton, and from Southampton to New York at least once."

Step by Step Solution

There are 3 Steps involved in it

Step: 1

To retrieve the specified information with an SQL query we need to join the tables in the database s... 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

Fundamentals of Database Systems

Authors: Ramez Elmasri, Shamkant Navathe

6th edition

136086209, 978-0136086208

More Books

Students also viewed these Programming questions

Question

3. Put a rotating monitor in charge of equipment or materials.

Answered: 1 week ago