...
Question 8854 – Database-Management-System
March 30, 2024
Question 16912 – NTA-UGC-NET 2021 Dec & 2022 June Paper-2
March 30, 2024
Question 8854 – Database-Management-System
March 30, 2024
Question 16912 – NTA-UGC-NET 2021 Dec & 2022 June Paper-2
March 30, 2024

Question 8855 – Database-Management-System

Consider the following relations A, B, C.

How many tuples does the result of the following SQL query contain?

SELECT A.id 
FROM A 
WHERE A.age > ALL (SELECT B.age 
                   FROM B 
                   WHERE B. name = "arun")

Correct Answer: B

Question 25 Explanation: 

First query (2) will be executed and 0 (no) rows will be selected because in relation B there is no Name ‘Arun’.
The outer query (1) results the follow and that will be the result of entire query now. (Because inner query returns 0 rows).
A
4
B
3
C
0
D
1
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!