What is the unique key in sql?
The unique key is a column of a table that is used to identify a column. It defines a column uniquely. No two rows can have the same unique key. It is used as a constraint to make records unique.