SQL/unique

解説 カラムに重複する値を格納できなくする
SQL
create table user(id int(20) unique, password varchar(20) not null);