create table foo ( test1 int not null auto_increment, test2 int null, primary key (test1) );