Wann sollten Sie InnoDB in MySQL verwenden?

Ich bin ziemlich verwirrt von der VerletzungHier.

Ich weiß, wie man sie macht, siehe unten, aber keine Ahnung warum? Wofür sind sie?

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));

Antworten auf die Frage(10)

Ihre Antwort auf die Frage