There is a table where I have a composite primary key:
create table checkbook( code int primary key auto_increment ); create table check( check_n