HOW TO SELECT DISTINCT VALUES IN SQL?

470 viewsSQLSQL
0

HOW TO SELECT DISTINCT VALUES IN SQL?

Saraswat World Changed status to publish June 14, 2023
0
SELECT DISTINCT in SQL
SELECT DISTINCT in SQL
SELECT DISTINCT

The SQL DISTINCT command is used with SELECT key word to retrieve only distinct or unique values.

Syntax-

SELECT DISTINCTย column_name1, column_name2, โ€ฆcolumn_nameN

FROMย <table_name>;

Description-

The distinct values from column_name1, column_name2, โ€ฆcolumn_nameN will be retrieved. It will avoid duplicate data.

Saraswat World Changed status to publish June 14, 2023
You are viewing 1 out of 1 answers, click here to view all answers.
Write your answer.

Posted

in

Tags:

Comments

Leave a Reply

A Tribute to Dilip Kumar