`l_name` varchar(32) DEFAULT NULL, `f_name` varchar(32) DEFAULT NULL, `job_id` int(11) DEFAULT NULL, PRIMARY KEY (`emp_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8; CREATE TABLE `job` ( `job_id` int(11) NOT NULL, `job_name` varchar(32) DEFAULT NULL, `salary` int(11) DEFAULT NULL, PRIMARY KEY (`job_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8; INSERT INTO employee (emp_id, l_name, f_name, job_id) VALUES (1, '田中', '一郎', 2); INSERT INTO employee (emp_id, l_name, f_name, job_id) VALUES (2, '佐藤', '二郎', 3); INSERT INTO employee (emp_id, l_name, f_name, job_id) VALUES (3, '山田', '三郎', 2); INSERT INTO employee (emp_id, l_name, f_name, job_id) VALUES (4, '田中', '花子', 1); INSERT INTO job (job_id, job_name, salary) VALUES (1, '社長', 1000000); INSERT INTO job (job_id, job_name, salary) VALUES (2, '営業', 350000); INSERT INTO job (job_id, job_name, salary) VALUES (3, '開発', 350000); INSERT INTO job (job_id, job_name, salary) VALUES (4, 'バイト', 100000);