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.

142 lines
1.6 KiB
Plaintext
Raw Normal View History

2023-12-27 17:13:56 +00:00
INSERT INTO table1 VALUES (1, [1,3], 'fd'), (2, [2,4], 'sd'), (3, [3,5], 'td')
======================================
SELECT a
FROM table1
;
2023-12-27 17:13:56 +00:00
INSERT INTO table1 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
2023-12-27 17:13:56 +00:00
INSERT INTO table1 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)
======================================
2023-12-27 17:13:56 +00:00
Option 'max_line_length' must be less than 256.
2
Options 'oneline' and 'max_line_length' are mutually exclusive.
2