-
Notifications
You must be signed in to change notification settings - Fork 1
psql
Christopher P. Brown edited this page Nov 14, 2022
·
3 revisions
postgreSQL command line
:sql:
-
Connecting:
psql -d postgres
-
List databases:
\l
-
Connect to database:
\c <database>
-
(d)escribe (t)ables:
\dt
-
table details:
\d <table>
and\d+ <table>