create table with primary key