Difference between revisions of "Databases: list tables"
Jump to navigation
Jump to search
(4 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
* [[AWS DynamoDB]]: <code>[[aws dynamodb list-tables]]</code> | * [[AWS DynamoDB]]: <code>[[aws dynamodb list-tables]]</code> | ||
− | + | * [[MongoDB]]: <code>show tables</code>. Related: <code>[[show collections]]</code> | |
− | |||
− | Related: <code>[[show collections]]</code> | ||
== [[PostgreSQL]] == | == [[PostgreSQL]] == | ||
* <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 == | ||
* <code>[[\du+]]</code> | * <code>[[\du+]]</code> | ||
+ | * <code>[[\dp]]</code> [[list tables]] and privileges | ||
* {{operation databases}} | * {{operation databases}} | ||
+ | * <code>[[ArwdDxt]]</code> | ||
+ | * <code>[[create table]]</code> | ||
== See also == | == See also == |
Latest revision as of 08:59, 6 February 2023
- MongoDB:
show tables
. Related:show collections
PostgreSQL[edit]
Related[edit]
\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
create table
See also[edit]
- 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: