Test Index

CBSE Class 12 Computer Science 2025 Paper Compartment Get it on Google PlayDownload on the App Store

© examsnet.com
Question : 16 of 37
Marks: +1, -0
Ginni has created a table, SCORES in MySQL to store runs scored by players in a cricket match. The table contains the following records :
Table : Scores
PLAYERSCORE
Ranveer50
Sukesh35
Mirza10
John51
Murugan70
Which of the following statements will give 10 as output ?
Solution:  
Explanation:
Scores: 50, 35, 10, 51, 70.
MAX(Score) = 70
MIN(Score) = 10 (the smallest value)
SUM(Score) = 50 + 35 + 10 + 51 + 70 = 216
AVG(Score) = 216 / 5 = 43.2
Only MIN() gives 10.
Answer:
Option B (SELECT MIN(Score) FROM Scores;)
© examsnet.com
Advertisements
Go to Question: