a. What is the result of this query: SELECT AVG (S.rating) FROM Sailors S b. What is the result of this query: SELECT COUNT (S.rating) FROM Sailors S c. Show the full outer join of S with itself, with the join condition being sid=sid .

Enhanced Discovering Computers 2017 (Shelly Cashman Series) (MindTap Course List)
1st Edition
ISBN:9781305657458
Author:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Chapter4: Programs And Apps: Productivity, Graphics, Security, And Other Tools
Section: Chapter Questions
Problem 29CT
icon
Related questions
Question

a. What is the result of this query:
SELECT AVG (S.rating)
FROM Sailors S


b. What is the result of this query:
SELECT COUNT (S.rating)
FROM Sailors S


c. Show the full outer join of S with itself, with the join condition being sid=sid .

sid
sname
18 jones 3
41
jonah
6
22
ahab
7
63
moby
null
rating
age
30.0
56.0
44.0
15.0
Transcribed Image Text:sid sname 18 jones 3 41 jonah 6 22 ahab 7 63 moby null rating age 30.0 56.0 44.0 15.0
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Intermediate SQL concepts
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Enhanced Discovering Computers 2017 (Shelly Cashm…
Enhanced Discovering Computers 2017 (Shelly Cashm…
Computer Science
ISBN:
9781305657458
Author:
Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:
Cengage Learning