CREATETABLEt_proj_info(
proj_id INTAUTO_INCREMENT PRIMARYKEY,
canton_id INTAUTO_INCREMENT FOREIGNKEY,
proj_name VARCHAR(50),
proj_no VARCHAR(5),
proj_type VARCHAR(25),
tilth_state FLOAT,
proj_kind VARCHAR(25),
farm_tot FLOAT,
approve_unit VARCHAR(50)
);
错误代码:
1064You have an error inyour SQL syntax; checkthe manual that corresponds toyour MySQL
server version forthe rightsyntax touse near 'foreign key,proj_name varchar(50),proj_no
varchar(5),proj_type varchar(25),t'atline 3