mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
10 lines
337 B
MySQL
10 lines
337 B
MySQL
|
SELECT arrayJoin([SearchEngineID]) AS search_engine, URL FROM test.hits WHERE SearchEngineID != 0 AND search_engine != 0 FORMAT Null;
|
||
|
|
||
|
SELECT
|
||
|
arrayJoin([0]) AS browser,
|
||
|
arrayJoin([SearchEngineID]) AS search_engine,
|
||
|
URL
|
||
|
FROM test.hits
|
||
|
WHERE 1 AND (SearchEngineID != 0) AND (browser != 0) AND (search_engine != 0)
|
||
|
FORMAT Null;
|