1.

What does the above query do?(a) It gives all the tuples having a distinct dept_name(b) It gives the dept_name attribute values of all tuples without repetition(c) It gives all the dept_name attribute of all the tuples(d) It gives all the tuples having a null value under the dept_name attribute

Answer» Correct choice is (b) It gives the dept_name attribute values of all tuples without repetition

Best explanation: The distinct keyword is used to explicitly force the elimination of duplicate tuples. Thus, the above query excludes duplicates.


Discussion

No Comment Found

Related InterviewSolutions