mysql how to add an Id column using auto increment

This post was written by admin on February 9, 2010
Posted Under: portland web design

alter table tablename add column id int auto_increment primary key;

Add a Comment

required, use real name
required, will not be published
optional, your blog address