difference between unique and distinct sql code example
Example: sql distinct vs unique
Unique: helps to ensure that all the values
in a column are different
Distinct: helps to remove all the duplicate
records when retrieving the records from a table.