Files
sqlparser/parser/testdata/query/format/select_with_union_distinct.sql

6 lines
276 B
SQL

-- Origin SQL:
SELECT replica_name FROM system.ha_replicas UNION DISTINCT SELECT replica_name FROM system.ha_unique_replicas format JSON
-- Format SQL:
SELECT replica_name FROM system.ha_replicas UNION DISTINCT SELECT replica_name FROM system.ha_unique_replicas FORMAT JSON;