aarushi2001
Technical User
Hi,
I am getting the above error. I have created 2 tables:
categories: id, code varchar(50) not null, name, primary key (code)) type=InnoDB;
quest: id, code varchar(50) not null, name, primary key (code), index (code), foreign key (code) references categories (code)) type=InnoDB;
When I try n create ques table, it gives me an error. Can someone please help me?
Thanks
I am getting the above error. I have created 2 tables:
categories: id, code varchar(50) not null, name, primary key (code)) type=InnoDB;
quest: id, code varchar(50) not null, name, primary key (code), index (code), foreign key (code) references categories (code)) type=InnoDB;
When I try n create ques table, it gives me an error. Can someone please help me?
Thanks