Daniel William
New member
What is the result of the following query?
A. The query deletes all the tuples whose marks are greater than the average marks
B. The query deletes all the tuples whose marks are less than the average marks
C. The query deletes all the values under the marks attribute which are less than the average
D. The query is syntactically wrong and does not execute
Code:
delete from student
where marks < (select avg(marks)
from student);
B. The query deletes all the tuples whose marks are less than the average marks
C. The query deletes all the values under the marks attribute which are less than the average
D. The query is syntactically wrong and does not execute