MySQL Forums
Forum List  »  Newbie

Re: Update a table with an incremental number for each occurrence of a value
Posted by: Shantanu Oak
Date: December 23, 2005 08:09AM

alter table test add column id int auto_increment,
ADD PRIMARY KEY (email, id);

Options: ReplyQuote


Subject
Written By
Posted
Re: Update a table with an incremental number for each occurrence of a value
December 23, 2005 08:09AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.