Question: Can anyone solve this ? Sailors(sid integer, sname: string, rating: integer, age: real) Boats( bid integer, bname: string, color: string) Reserves(sid integer, bid integer, day
Sailors(sid integer, sname: string, rating: integer, age: real) Boats( bid integer, bname: string, color: string) Reserves(sid integer, bid integer, day date) Create data base tables using above attributes, Note: pk represented as attribute underlined. Insert following information into those tables. rating | age l lsid I sname 22 Dustin 7 29 Brutus 31 Lubber8 32 Andy 45.0 33.0 55.5 25.5 35.0 35.0 16.0 35.0 25.5 22 10110/10/98 22 102 10/ 10098 22 10310/8/98 8 22 104 10/7/98 58Rusty 10 64 Horatio 7 71 Zorba 10 74 Horatio 9 85 Art 31 102 11/10/98 31 103 11/6/98 31 104 11/12/98 64101 9/5/98 64 102 9/8/98 74 103 9/8/98 95 Bob 3635 Figure S.1 An Instance 53 of Sailors Figure 5.2 An Iestance R2 of Reserves bid bname color 0 Interlake blue 102 Interlake red 103 Clipper green 104 Marinered Figure 5.3 An Iastance BI of Beats Write the query to extract following information from above tables. I a) Find the names and ages of all sailors? b) Find the' names and ages of distinct sailors
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
