Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider table sailors(sid, sname, rating, age) where sid is the primary key; Reserves (sid, bid, day) where {sid, bid, day} is the primary key. Write

image text in transcribed
Consider table sailors(sid, sname, rating, age) where sid is the primary key; Reserves (sid, bid, day) where {sid, bid, day} is the primary key. Write SQL query for the following question: Show the information of sailors who has never reserved any boat yet. * (10 Points) sid sname 22 Dustin 29 Brustus 31 Lubber 32 Andy 58 Rusty 64 Horatio 71 Zorba 74 Horatio 85 Art 95 Bob 100 Rusty 101 Bob rating 7 1 8 8 10 7 10 9 3 age 45.0 33.0 55.5 25.5 35.0 35.0 16.0 35.0 25.5 63.5 16.0 45.0 A1 sid bid day 22 101 1998-10-10 22 101 2020-12-18 22 102 1998-10-10 22 103 1998-08-10 22 104 1998-07-10 31 102 1998-10-11 31 103 1998-06-11 31 104 1998-12-11 64 101 1998-05-09 64 102 1998-08-09 74 103 1998-08-09 3 8 5

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

Databases On The Web Designing And Programming For Network Access

Authors: Patricia Ju

1st Edition

1558515100, 978-1558515109

More Books

Students also viewed these Databases questions