Q:

What is the result of the following query?

0

What is the result of the following query?

DELETE FROM student
WHERE marks < (SELECT avg(marks)
                             FROM student);

  1. The query deletes all the tuples whose marks are greater than the average marks
  2. The query deletes all the tuples whose marks are less than the average marks
  3. The query deletes all the values under the marks attribute which are less than the average
  4. The query is syntactically wrong and does not execute

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (b).The query deletes all the tuples whose marks are less than the average marks

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now