急速
SHOW SCHEMAS;返回所有模式
SHOW SCHEMAS;
SHOW TABLES FROM foo;返回 foo 模式的所有表
SHOW TABLES FROM foo;
有没有一种简单的方法可以从 Presto 中的所有模式返回表?
您可以使用select table_schema, table_name from information_schema.tables;
select table_schema, table_name from information_schema.tables;