#
# Test of auto_increment
#
# run this program with mysql -vf test < this file

drop table auto_incr_test ;

create table auto_incr_test (id int auto_increment, name char(40), primary key (id)) ;

insert into auto_incr_test (name) values ("first record");
insert into auto_incr_test values (2,"second record");
insert into auto_incr_test (id,name) values (10,"tenth record");
insert into auto_incr_test values (0,"eleventh record");
insert into auto_incr_test values (0,"twelfth record");

select * from auto_incr_test ;

drop table auto_incr_test ;

