This lists databases: ```sql SELECT datname FROM pg_database; ``` These list databases in detail: ```lang-none \list ``` ```lang-none \l ``` These list databases in more detail: ```lang-none \list+ ``` ```lang-none \l+ ``` This lists the tables of all databases: ```sql SELECT table_schema, table_name FROM information_schema.tables; ``` These list the tables of the current database: ```lang-none \dt ``` ```lang-none \dt+ ```