...
Question 10889 – Process-Scheduling
January 24, 2024
Question 10880 – GATE 2006-IT
January 25, 2024
Question 10889 – Process-Scheduling
January 24, 2024
Question 10880 – GATE 2006-IT
January 25, 2024

Question 17408 – ISRO CS-2023

Consider a database table T containing two columns X and Y each of type Integer. After the creation of the table, one record (X=l, Y=l) is inserted in the table. Let MX and MY denote the respective maximum values of X and Y among all records in the table at any point in time. Using MX and MY, new records are inserted in the table 128 times with X and Y values being MX+I, 2 x MY+I respectively. It may be noted that each time after the insertion, values of MX and MY change. What will be the output of the following SQL query after the steps mentioned above are
carried out?
SELECT Y FROM T WHERE X=7;

Correct Answer: A

A
127
B
15
C
129
D
257
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!!