Q:

Choose the correct option regarding the following query:

belongs to collection: DBMS - SQL MCQ

0

Choose the correct option regarding the following query:

WITH max_marks (VALUE) AS
(SELECT MAX(marks)
FROM student)
SELECT studentID
FROM student,max_marks
WHERE student.marks = max_marks.value;

  1. The query is syntactically wrong
  2. The query gives the studentID of the student with the maximum marks
  3. The query gives the maximum marks amongst all the students
  4. The query gives all the studentID values except the student with the maximum marks

All Answers

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

(b).The query gives the studentID of the student with the maximum marks

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

total answers (1)

DBMS - SQL MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
SQL subqueries that can occur wherever a value is ... >>
<< State true or false: We can use Subqueries inside ...