projects:sandbox:database
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| projects:sandbox:database [2023/01/12 05:01] – created jhagstrand | projects:sandbox:database [2023/03/11 01:54] (current) – jhagstrand | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| Do everything from psql. \\ | Do everything from psql. \\ | ||
| - | | + | |
| - | password is in .pgpass | + | (password is in .pgpass) |
| - | \h list SQL commands | + | |
| - | \? list psql commands | + | |
| - | \dt list tables in public schema | + | \? list psql commands |
| - | SELECT * FROM information_schema.tables WHERE table_schema = ' | + | \dt list tables in public schema |
| - | SELECT column_name, | + | |
| + | | ||
| + | |||
| + | | ||
| + | |||
| + | select table_schema, | ||
projects/sandbox/database.1673517685.txt.gz · Last modified: 2023/01/12 05:01 by jhagstrand