I want to mention primary key to specific column.for that purpose,using Google help I wrote the following query.but it allowing duplicate values.
CREATE TABLE loginDetails
UserId varchar(150) NOT NULL,
Ho can I set primary key to column UserId.
Can anyone help me?