This commit is contained in:
nikitamikhaylov 2020-10-24 00:05:24 +03:00
parent 7822dafcae
commit fe9440689a
2 changed files with 4 additions and 4 deletions

View File

@ -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