PostgreSQL

PostgreSQL relational database commands and queries

4 commands
Search & Copy
Save Favorites
4
Total Commands
100%
Free Access
Lightning Fast

Available Commands

Click on any command to copy it instantly

4 commands available
4 of 4
Resources

Learn PostgreSQL

Master PostgreSQL relational database

postgresql

Connect to PostgreSQL

Connect to PostgreSQL database

psql -h localhost -U username -d database
postgresql
connect
database
postgresql

List Databases

List all databases

\l
postgresql
databases
list
postgresql

List Tables

List tables in current database

\dt
postgresql
tables
list
postgresql

Describe Table

Show table structure

\d table_name
postgresql
table
structure

Missing a command?

Help us improve this collection by suggesting commands that should be added. Your contributions help the entire developer community!