Add Primary Key to Database using SQL

Published: 22 January 2014
on channel: webmapacademy
3,133
9

Adding a primary key to an existing table in a database using SQL. ALTER TABLE users ADD id INT NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST - be sure to change "users" to the name of the table you are working on.


On this page of the site you can watch the video online Add Primary Key to Database using SQL with a duration of hours minute second in good quality, which was uploaded by the user webmapacademy 22 January 2014, share the link with friends and acquaintances, this video has already been watched 3,133 times on youtube and it was liked by 9 viewers. Enjoy your viewing!