Q:

Observe the following query and choose the correct option

belongs to collection: DBMS - SQL MCQ

-2

Observe the following query and choose the correct option.

SELECT DISTINCT name 
FROM student
WHERE ID IS NOT NULL;

  1. The query is syntactically wrong
  2. The query gives all the possible student names where a finite value exists for ID
  3. The query gives the names of the students that have a null ID and it also excludes identical names
  4. The query gives the student names where a finite value exists for ID and it excludes identical names

All Answers

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

 (d).The query gives the student names where a finite value exists for ID and it excludes identical names

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
What will be the result of the following query?... >>
<< Using the _______ clause retains only one copy of ...