537
537
CREATE TABLE t1 ( ID1 int NOT NULL DEFAULT '0' , ID2 datetime, DATA1 varchar(10) , DATA2 double(5,4) , DATA3 datetime , PRIMARY KEY (ID1,ID2));
539
CREATE TABLE t2 ( ID int NOT NULL DEFAULT '0' , DATA1 timestamp DEFAULT '0000-00-00 00:00:00' , PRIMARY KEY (ID));
540
540
(SELECT * FROM t1 AS PARTITIONED, t2 AS
541
541
PARTITIONED_B WHERE PARTITIONED_B.ID=PARTITIONED.ID1) UNION
542
542
(SELECT * FROM t1 AS PARTITIONED, t2 AS