Spracherkennung für: .test vermutete Sprache: SQL {SQL[121] Masm[54] VDM[33]} [Methode: maximale Elemente, drei Dimensionen]
--source include/galera_cluster.inc
--source include/have_innodb.inc
CREATE TABLE t1 (
pk int PRIMARY KEY,
c varchar(8),
i int
) ENGINE=InnoDB;
CREATE TABLE t2 (f int) ENGINE=InnoDB;
CREATE TABLE t3 (x int,
FOREIGN KEY (x) REFERENCES t1 (pk)
) ENGINE=InnoDB;
UPDATE t1 JOIN t2 ON t1.i = t2.f SET t1.c = 'foo';
DROP TABLE t3, t2, t1;
[Dauer der Verarbeitung: 0.6 Sekunden]