Show tables from all schemas in Presto

前端 未结 1 1965
别那么骄傲
别那么骄傲 2021-02-15 15:33

In Presto

SHOW SCHEMAS; returns all schemas

SHOW TABLES FROM foo; returns all tables for foo schema

Is there a simple way to re

1条回答
  •  日久生厌
    2021-02-15 15:52

    You can use select table_schema, table_name from information_schema.tables;

    0 讨论(0)
提交回复
热议问题