Difference between revisions of "Databases: list tables"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
* <code>[[\dt]]</code> | * <code>[[\dt]]</code> | ||
* <code>[[\dt *.*]]</code> | * <code>[[\dt *.*]]</code> | ||
− | * <code>SELECT * FROM | + | * <code>[[SELECT * FROM pg_catalog.pg_tables]];</code> |
== Related == | == Related == |
Revision as of 15:02, 14 December 2022
Contents
MongoDB
show tables
Related: show collections
PostgreSQL
Related
\du+
\dp
list tables and privileges- Connect to a database, Show databases, Create database, Delete database, Create user, List users, List databases, List tables:
show tables
, GRANT ArwdDxt
See also
- PostgreSQL:
psql
,.psqlrc, .pgpass
,$HOME/.pg service.conf
,-U, -W, -d
, meta-commands:\du, \dg, \ddp, \dp, \list, \dn, \dt, \c, \l, \di, \q
,show users
,show
,su - postgres
,psql -c, \?, \connect, \conninfo
,--version, --help
, PL/pgSQL - SQL, NewSQL, RDMS: GraphQL (2015), SQLite,
select, insert
,select count
, Distributed SQL, TablePlus, Cache hit ratio,pg_stat_user_tables
,EXPLAIN
, Index (PostgreSQL), DDL, SQL/MED, Group by, List users, SQL Injection, SQLAlchemy,CREATE USER, CREATE ROLE, EXPLAIN, ALTER DATABASE, REVOKE, NOLOCK, NOWAIT, EXISTS
, Unique constraint,.sql
Advertising: