CBSE Class 12 Informatics Practices Question 66 of 79

MySQL SQL Revision Tour — 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.