Kiedy należy wybrać InnoDB w MySQL?
Jestem raczej zdezorientowany przez kłamstwo zranieniatutaj.
Wiem, jak je wykonać, patrz poniżej, ale nie mam pojęcia dlaczego? Po co są?
create table orders (order_no int not null auto_increment, FK_cust_no int not null,
foreign key(FK_cust_no) references customer(cust_no), primary key(order_no)) type=InnoDB;
create table orders (order_no int not null auto_increment, FK_cust_no int not null,
foreign key(FK_cust_no) references customer(cust_no), primary key(order_no));