summaryrefslogtreecommitdiff
path: root/mysql-test/r/ansi.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/r/ansi.result')
-rw-r--r--mysql-test/r/ansi.result10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/r/ansi.result b/mysql-test/r/ansi.result
new file mode 100644
index 00000000000..f9f96310b73
--- /dev/null
+++ b/mysql-test/r/ansi.result
@@ -0,0 +1,10 @@
+drop table if exists t1;
+SELECT 'A' || 'B';
+'A' || 'B'
+AB
+CREATE TABLE t1 (id INT, id2 int);
+SELECT id,NULL,1,1.1,'a' FROM t1 GROUP BY id;
+id NULL 1 1.1 a
+SELECT id FROM t1 GROUP BY id2;
+'t1.id' isn't in GROUP BY
+drop table t1;