ClickHouse/tests/queries/0_stateless/02946_format_values.reference

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

140 lines
1.6 KiB
Plaintext
Raw Normal View History

INSERT INTO table1 FORMAT Values (1, [1,3], 'fd'), (2, [2,4], 'sd'), (3, [3,5], 'td')
======================================
SELECT a
FROM table1
;
INSERT INTO table1 FORMAT Values (1, [1,3], 'fd'), (2, [2,4], 'sd'), (3, [3,5], 'td');
SELECT b
FROM table1
;
======================================
-- begin
SELECT a
FROM table1
;
-- some insert query
INSERT INTO table1 FORMAT Values (1, [1,3], 'fd'), (2, [2,4], 'sd'), (3, [3,5], 'td');
-- more comments
-- in a row
SELECT b
FROM table1
;
-- end
======================================
SELECT b FROM table1;
SELECT b, c FROM table1;
SELECT
b,
c,
d
FROM table1
;
SELECT
b,
c,
d,
e
FROM table1
;
SELECT
b,
c,
d,
e,
f
FROM table1
;
SELECT
b,
c
FROM
(
SELECT
b,
c
FROM table1
)
;
SELECT
b,
c,
d,
e,
f
FROM
(
SELECT
b,
c,
d,
e,
f
FROM table1
)
;
======================================
SELECT b FROM table1;
SELECT b, c FROM table1;
SELECT b, c, d FROM table1;
SELECT b, c, d, e FROM table1;
SELECT b, c, d, e, f FROM table1;
SELECT b, c FROM (SELECT b, c FROM table1);
SELECT
b,
c,
d,
e,
f
FROM
(
SELECT
b,
c,
d,
e,
f
FROM table1
)
;
======================================
SELECT
b,
c,
d,
e,
f
FROM
(
SELECT
b,
c,
d,
e,
f
FROM table1
)
SELECT b, c, d, e, f FROM (SELECT b, c, d, e, f FROM table1)
======================================
BAD_ARGUMENTS
BAD_ARGUMENTS