check which primary key is auto increment