ClickHouse/dbms/tests/queries/0_stateless/00492_drop_temporary_table.sql
2017-08-15 22:31:40 +03:00

9 lines
293 B
SQL

drop table if exists temp_tab;
create temporary table temp_tab (number UInt64);
insert into temp_tab select number from system.numbers limit 1;
select number from temp_tab;
drop table temp_tab;
create temporary table temp_tab (number UInt64);
select number from temp_tab;
drop table temp_tab;