+ 1

How can i create a database with a table wich has 'id' column and 'id' will be auto increment.

23rd Dec 2016, 10:35 AM
Twaha Rahman
Twaha Rahman - avatar
2 Respuestas
+ 1
CREATE TABLE tableName(id int NOT NULL AUTO_INCREMENT)
23rd Dec 2016, 10:49 AM
Uran Kajtazaj
Uran Kajtazaj - avatar
+ 1
CREATE DATABASE dbName USE dbName CREATE TABLE tableName (id int NOT NULL AUTO_INCREMENT) execute these one by one
23rd Dec 2016, 3:32 PM
Uran Kajtazaj
Uran Kajtazaj - avatar