CREATE TABLE employees (
emp_no INT(11) NOT NULL AUTO_INCREMENT,
birth_date DATE NOT NULL,
first_name VARCHAR(14) NOT NULL,
last_name VARCHAR(16) NOT NULL,
gender ENUM('M', 'F') NOT NULL,
hire_date DATE NOT NULL,
PRIMARY KEY (emp_no)
);
insert record into table where one field is primary key, int and auto_increment
preparation
insert record into table where one field is primary key, int and auto_increment
or
this will create value for emp_no field automatically increment by database system