se hai gia creato tabella e colonna
alter table tabella change ID ID int(11) not null auto_increment;