還是先 Create table 吧
create table emp(
id int not null primary key
name varchar(
);
create table emp_dept(
dept_id varchar(
emp_id int not null
emp_name varchar(
primary key (dept_id
insert into emp() values
(
(
(
(
(
(
(
(
(
(
insert into emp_dept() values
(
(
(
(
(
From:http://tw.wingwit.com/Article/program/MySQL/201311/29442.html