显示Presto db中所有模式的表

Gre*_*ogy 3 sql presto

在Presto db

SHOW SCHEMAS; 返回所有模式

SHOW TABLES FROM foo; 返回foo架构的所有表

是否有一种简单的方法可以从Presto中的所有模式中返回表格?

袁安峰*_*袁安峰 9

您可以使用 select table_schema, table_name from information_schema.tables;