mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 16:50:48 +00:00
better
This commit is contained in:
parent
7822dafcae
commit
fe9440689a
@ -6,7 +6,7 @@ SELECT *
|
||||
FROM
|
||||
(
|
||||
SELECT a
|
||||
FROM remote('127.0.0.{1,2}', default, local_t)
|
||||
FROM remote('127.0.0.{1,2}', currentDatabase(), local_t)
|
||||
GROUP BY a
|
||||
WITH TOTALS
|
||||
)
|
||||
@ -20,7 +20,7 @@ SELECT *
|
||||
FROM
|
||||
(
|
||||
SELECT a
|
||||
FROM remote('127.0.0.1', default, local_t)
|
||||
FROM remote('127.0.0.1', currentDatabase(), local_t)
|
||||
GROUP BY a
|
||||
WITH TOTALS
|
||||
)
|
||||
@ -33,7 +33,7 @@ SELECT 'with explicit having';
|
||||
SELECT
|
||||
a,
|
||||
count()
|
||||
FROM remote('127.0.0.{1,2}', default, t)
|
||||
FROM remote('127.0.0.{1,2}', currentDatabase(), local_t)
|
||||
GROUP BY a
|
||||
WITH TOTALS
|
||||
HAVING a IN
|
||||
|
Loading…
Reference in New Issue
Block a user