ClickHouse/tests/queries/0_stateless/02542_case_no_else.sql
Salvatore Mesoraca 9ef9ec4aca
Rename tests
2023-04-26 10:46:33 +02:00

15 lines
227 B
SQL

SELECT CASE 1 WHEN 1 THEN 2 END;
SELECT id,
CASE id
WHEN 1 THEN 'Z'
END x
FROM (SELECT 1 as id);
SELECT id,
CASE id
WHEN 1 THEN 'Z'
ELSE 'X'
END x
FROM (SELECT 1 as id);