1.

Which SQL statement is used to return only different values?(a) SELECT DIFFERENT(b) SELECT UNIQUE(c) SELECT DISTINCT(d) SELECT ALLI got this question in unit test.This is a very interesting question from Basic SQL in chapter Laying the Foundation of SQL Server

Answer»

Correct answer is (C) SELECT DISTINCT

The explanation is: The SELECT DISTINCT statement is USED to return only distinct (DIFFERENT) VALUES.



Discussion

No Comment Found

Related InterviewSolutions