我在MySql中有创建表的问题

时间:2019-07-05 09:55:30

标签: mysql

我正在尝试在MYSQL中为我的项目创建数据库,我已经做了100次,但是现在我陷入了困境,无法弄清原因

create table osiguravajuce_drustvo(
od_id int primary key auto_increment,
naziv_drustva varchar(60),
kontakt_info varchar(60),
vo_id int,
constraint fk_osiguranje foreign key (vo_id) references vrste_osiguranja(vo_id)
)engine=innodb

ERROR 1064 (42000) at line 13: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create table osiguravajuce_drustvo(
od_id int primary key auto_increment,
naziv_' at line 7

0 个答案:

没有答案