PostgreSQL Cheat Sheet: Difference between revisions

From MK Wiki EN
Jump to navigation Jump to search
(Important Commands)
 
m (Added category)
Line 20: Line 20:
| \df || '''D'''isplay '''f'''unctions
| \df || '''D'''isplay '''f'''unctions
|}
|}
[[Category:PostgreSQL]]

Revision as of 10:08, 30 May 2025

Open SQL Shell

sudo -u postgres psql

Important Commands

Caption text
Command Description
\l List databases
\c Connect to database
\dt Display tables
\dv Display views
\df Display functions