ClickHouse/tests/queries/0_stateless/01210_drop_view.sql

10 lines
260 B
MySQL
Raw Normal View History

2020-03-23 22:28:30 +00:00
DROP VIEW IF EXISTS v_01210;
DROP TABLE IF EXISTS mv_01210;
DROP TABLE IF EXISTS `.inner.mv_01210`;
CREATE VIEW IF NOT EXISTS v_01210 AS SELECT 1;
CREATE MATERIALIZED VIEW IF NOT EXISTS mv_01210 ENGINE Log AS SELECT 1;
DROP VIEW v_01210;
DROP VIEW mv_01210;