catalog

information_schema.tables

Standard-oriented metadata view lists tables and views visible to the current user.

Formal Syntax & Structure

sql syntaxsql
SELECT table_name, table_type FROM information_schema.tables WHERE table_schema = 'bm_lab' ORDER BY table_name;

Working Example

Example Snippetsql
-- Disposable PostgreSQL lab only; see LAB.md.SELECT table_name, table_type FROM information_schema.tables WHERE table_schema = 'bm_lab' ORDER BY table_name;
SQL Reference