what is the diffrence between distint and unique 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.