I have a MySQL table with an auto increment id declared as follows:
create table bases(
idBase int primary key auto increment,
nombreBase varchar(50) not null
)
When I insert two records:
insert into bases values('Base 1');
insert into bases values('Base 2');
It should go with id 1 and then 2, but it goes 1 and then 11, if I insert
a third takes 21. Is there any particular reason why this is happening?
Thanks in advance!
EDIT!!!!
Solved thanks to the answer provided here