...
Database-Management-System
August 28, 2024
K-Map
August 28, 2024
Database-Management-System
August 28, 2024
K-Map
August 28, 2024

Database-Management-System

Question 882
Consider the schema
Sailors(sid, sname, rating, age) with the following data

For the query
SELECT S.rating, AVG(S.age) AS average FROM Sailors S
Where S.age >= 18
GROUP BY S.rating
HAVING 1 < (SELECT COUNT(*) FROM Sailors S2 where S.rating = S2.rating)
The number of rows returned is
A
6
B
5
C
4
D
3
Question 882 Explanation: 


Correct Answer: D
Question 882 Explanation: 


Leave a Reply

Your email address will not be published. Required fields are marked *