Tutorialsplane

Sql create table with primary key


sql create table with primary key Syntax is explained below.

Sql create table with primary key with Syntax

Example

CREATE TABLE Users
(
ID int,
Name varchar(100),
Email varchar(100),
Address varchar(100),
City varchar(100),
PRIMARY KEY (ID)
);

Which will create table users with primary key ID.