📄 information_schema_db.result
字号:
use INFORMATION_SCHEMA;show tables;Tables_in_information_schemaCHARACTER_SETSCOLLATIONSCOLLATION_CHARACTER_SET_APPLICABILITYCOLUMNSCOLUMN_PRIVILEGESKEY_COLUMN_USAGEROUTINESSCHEMATASCHEMA_PRIVILEGESSTATISTICSTABLESTABLE_CONSTRAINTSTABLE_PRIVILEGESTRIGGERSUSER_PRIVILEGESVIEWSshow tables from INFORMATION_SCHEMA like 'T%';Tables_in_information_schema (T%)TABLESTABLE_CONSTRAINTSTABLE_PRIVILEGESTRIGGERScreate database `inf%`;use `inf%`;show tables;Tables_in_inf%grant all privileges on `inf%`.* to 'mysqltest_1'@'localhost';create table t1 (f1 int);create function func1(curr_int int) returns intbegindeclare ret_val int;select max(f1) from t1 into ret_val;return ret_val;end|create view v1 as select f1 from t1 where f1 = func1(f1);select * from information_schema.tables;drop user mysqltest_1@localhost;drop view v1;drop function func1;drop table t1;drop database `inf%`;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -