fixed merge

parent 2da037c7
...@@ -860,8 +860,8 @@ CREATE TABLE t1 (a INT, b INT); ...@@ -860,8 +860,8 @@ CREATE TABLE t1 (a INT, b INT);
INSERT INTO t1 VALUES (1,1),(1,2),(2,3); INSERT INTO t1 VALUES (1,1),(1,2),(2,3);
SELECT (SELECT COUNT(DISTINCT t1.b)) FROM t1 GROUP BY t1.a; SELECT (SELECT COUNT(DISTINCT t1.b)) FROM t1 GROUP BY t1.a;
(SELECT COUNT(DISTINCT t1.b)) (SELECT COUNT(DISTINCT t1.b))
0
2 2
1
SELECT (SELECT COUNT(DISTINCT 12)) FROM t1 GROUP BY t1.a; SELECT (SELECT COUNT(DISTINCT 12)) FROM t1 GROUP BY t1.a;
(SELECT COUNT(DISTINCT 12)) (SELECT COUNT(DISTINCT 12))
1 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment