Update docs/en/sql-reference/functions/other-functions.md

Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
This commit is contained in:
Dmitriy 2021-08-25 20:16:16 +03:00 committed by GitHub
parent 9ebe99b4b0
commit 7295bf95b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2295,6 +2295,8 @@ Type: [String](../../sql-reference/data-types/string.md)
Query: Query:
``` sql ``` sql
CREATE TABLE tmp (str String) ENGINE = Log;
INSERT INTO tmp (*) VALUES ('a');
SELECT count(DISTINCT t) FROM (SELECT initialQueryID() AS t FROM remote('127.0.0.{1..3}', currentDatabase(), 'tmp') GROUP BY queryID()); SELECT count(DISTINCT t) FROM (SELECT initialQueryID() AS t FROM remote('127.0.0.{1..3}', currentDatabase(), 'tmp') GROUP BY queryID());
``` ```