Рет қаралды 10
What is Distinct Function in SQL?
#Distinctfunction #sqltutorialforbeginners #dataanalysis
Linkedin Group: / 14478259
Hello everyone, welcome to Educate Cube. Today, we'll discuss the DISTINCT function in SQL. The DISTINCT function is used in a SELECT statement to retrieve unique values from specified columns, eliminating duplicate rows.
The syntax is:
SELECT DISTINCT column_name(s) FROM table_name;
For example, to get unique values from a column or combination of columns, you can use the DISTINCT function. This will return only unique rows, filtering out any duplicates.
In summary, the DISTINCT function helps ensure you get unique values from your data set.
Thank you for watching Educate Cube. Please like, share, and subscribe to our channel.