DISTINCT Command in SQL

DISTINCT Command in SQL a very important keyword for a select statement In a table. In a particular table, columns may contain duplicate or repeated values and you want to fetch only distinct values from the table. The DISTINCT keyword can be used to return only distinct (different) values. for eg: in a city column if New york exists more than one time than with the help of the distinct keyword we eliminate duplicate values for the city column. Some key points are given below- DISTINCT ...
Read More