TS
Size: a a a
TS
S
TS
D
MK
WITH users_logins as (
SELECT
login
FROM events
WHERE
date BETWEEN (toDate('2021-02-08') and toDate('2021-02-08'))
and event_id = 111
)
select
count(*)
from
users_logins
DB::Exception: Syntax error: failed at position 24 ('(') (line 3, col 22): (
SELECT
login
FROM events
WHERE
EventDate BETWEEN (toDate('2021-02-08') and toDate('2021-02-08'))
and event_id = 1. Expected identifier
MK
TS
S
WITH users_logins as (
SELECT
login
FROM events
WHERE
date BETWEEN (toDate('2021-02-08') and toDate('2021-02-08'))
and event_id = 111
)
select
count(*)
from
users_logins
DB::Exception: Syntax error: failed at position 24 ('(') (line 3, col 22): (
SELECT
login
FROM events
WHERE
EventDate BETWEEN (toDate('2021-02-08') and toDate('2021-02-08'))
and event_id = 1. Expected identifier
MK
MK
MK
D
O
K
O
O
DF
S
echo 'SELECT 1' | curl -vvv 'http://clickhouse-simple-01.db-test:8123/' -d @-
S