Find the names of sailors who have reserved a red boat, and list in the order of age
select s.name, s.age
from sailors s, reserves r, boats b
where s.id = r.sId and r.bId = b.id and b.color = 'red'
order by s.age;
Find the names of sailors who have reserved a red boat, and list in the order of age
select s.name, s.age
from sailors s, reserves r, boats b
where s.id = r.sId and r.bId = b.id and b.color = 'red'
order by s.age;
Find the names of sailors who have reserved at least one boat
select s.name
from sailors s, reserves r
where s.id = r.sId;
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us