⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 temp.sql

📁 关系型数据库 Postgresql 6.5.2
💻 SQL
字号:
---- Test temp relations and indexes---- test temp table/index maskingCREATE TABLE temptest(col int);CREATE INDEX i_temptest ON temptest(col);CREATE TEMP TABLE temptest(col int);CREATE INDEX i_temptest ON temptest(col);DROP INDEX i_temptest;DROP TABLE temptest;DROP INDEX i_temptest;DROP TABLE temptest;-- test temp table selectsCREATE TABLE temptest(col int);INSERT INTO temptest VALUES (1);CREATE TEMP TABLE temptest(col int);INSERT INTO temptest VALUES (2);SELECT * FROM temptest;DROP TABLE temptest;SELECT * FROM temptest;DROP TABLE temptest;CREATE TEMP TABLE temptest(col int);-- test temp table deletion\c regressionSELECT * FROM temptest;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -