Files
MaxScale/maxscale-system-test/fw/pass12
Markus Mäkelä 40582c38fb MXS-1389: Fix fwf test rules
The new tests now use the correct syntax for the rule files.
2017-09-08 09:31:38 +03:00

7 lines
259 B
Plaintext

DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (name int, address int, email int);
INSERT INTO t1 VALUES (1, 1, 1);
SELECT name, address, email FROM t1;
SELECT name, address, SUM(email) FROM t1;
SELECT CAST(name AS TEXT), CAST(address AS TEXT), SUM(email) FROM t1;