Stats

105 Contributors: 4
2017-02-15
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook

Primary Keys

Download sql eBook

Syntax

  • MySQL: CREATE TABLE Employees ( Id int NOT NULL, PRIMARY KEY (Id), ... );

  • Others: CREATE TABLE Employees ( Id int NOT NULL PRIMARY KEY, ... );

Related Examples