Question

What does the SQL keyword "DISTINCT" do?

A Retrieves only the unique values from a column in a SELECT statement Correct Answer Incorrect Answer
B Sorts the result set in ascending order Correct Answer Incorrect Answer
C Joins multiple tables together Correct Answer Incorrect Answer
D Inserts a new row into a database table Correct Answer Incorrect Answer

Solution

Retrieves only the unique values from a column in a SELECT statement

Practice Next

Relevant for Exams:

×
×