2022-07-14 15:07:47 +00:00
|
|
|
-- { echoOn }
|
|
|
|
SELECT toString(dummy) as dummy FROM remote('127.{1,1}', 'system.one') GROUP BY dummy;
|
2022-07-11 15:13:36 +00:00
|
|
|
0
|
2022-07-14 15:07:47 +00:00
|
|
|
SELECT toString(dummy+1) as dummy FROM remote('127.{1,1}', 'system.one') GROUP BY dummy;
|
2022-07-11 15:13:36 +00:00
|
|
|
1
|
2022-07-14 15:07:47 +00:00
|
|
|
SELECT toString((toInt8(dummy)+2) * (toInt8(dummy)+2)) as dummy FROM remote('127.{1,1}', system.one) GROUP BY dummy;
|
2022-07-11 15:13:36 +00:00
|
|
|
4
|
2022-07-14 15:07:47 +00:00
|
|
|
SELECT round(number % 3) AS number FROM remote('127.{1,1}', numbers(20)) GROUP BY number ORDER BY number ASC;
|
2022-07-11 15:13:36 +00:00
|
|
|
0
|
|
|
|
1
|
|
|
|
2
|