Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

All the questions must be solved with multi-table select, joins, and nested queries. WRITE ALL THREE QUERIES OF EACH QUESTION Q1. Write a query that

image text in transcribed

All the questions must be solved with multi-table select, joins, and nested queries.

WRITE ALL THREE QUERIES OF EACH QUESTION

Q1. Write a query that will display all the boats and its reservation.

Q2. Write a query that will display all the sailors with their reservations.

Q3. Write a query that will display all the sailors with the boats they booked.

Q4. Write a query that will display all the reservations with sailors' names of those whose reservations are 11-12-2021.

SAILOR SID RESERVATION SID BID BOAT BID ADDRESS 1 1 SNAME 1 UMER 2 AHMED 3 NAEEM 4 ALI ABC ABC BNAME 1 BOATA 2 BOAT-B 3 BOAT-C 2 N XYZ ZYX 1 DATE 1 10/12/2021 2 10/12/2021 1 11/12/2021 1 11/12/2021 2 12/12/2021 1 12/12/2021 12/13/2021 12/13/2021 2 3 3 N 1 1 N

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

Database Programming With Visual Basic .NET

Authors: Carsten Thomsen

2nd Edition

1590590325, 978-1590590324

More Books

Students also viewed these Databases questions

Question

How can strategic alliances be used to help grow the business?

Answered: 1 week ago

Question

What are the Five Phases of SDLC? Explain each briefly.

Answered: 1 week ago

Question

How can Change Control Procedures manage Project Creep?

Answered: 1 week ago