CBSE Class 12 Computer Science Question 55 of 78

Simple Queries in SQL — Question 9

Back to all questions
9
Question

Question 9

Which of the following keywords will you use in the following query to display the unique values of the column dept_name ?

SELECT ............... dept_name FROM Company;
  1. All
  2. From
  3. Distinct
  4. Name
Answer

Distinct

Reason — The DISTINCT keyword is used to display the unique values of the column.