\i path_to_sql_file
\l - show all databases
\c <db-name> - connect to database
\d - show all tables (including sequences)
\dt - show all tables
\d+ <table-name> - desc table
\dn - show all schemas
\db - show all tablespaces
\q - quit (Ctrl+C)
Last active
December 18, 2023 19:38
-
-
Save sah2ed/59624add17a395558d32 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment