diffrence between unique and distinct in sql code example
Example: difference between unique and distinct
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.