sql unique
-- To name a UNIQUE constraint, and to define a UNIQUE constraint on
-- multiple columns, use the following SQL syntax:
-- MySQL / SQL Server / Oracle / MS Access:
CREATE TABLE Persons (
ID int NOT NULL,
LastName varchar(255) NOT NULL,
FirstName varchar(255),
Age int,
CONSTRAINT UC_Person UNIQUE (ID,LastName)
);