Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

how to add auto increment primary key

CREATE TABLE Inventory (
item_number int AUTO_INCREMENT PRIMARY KEY,
item_type varchar(255),
item_category varchar(255),
item_name varchar(255);
Source by retool.com #
 
PREVIOUS NEXT
Tagged: #add #auto #increment #primary #key
ADD COMMENT
Topic
Name
3+4 =