Applied table primary key added in sql