mirror of
https://github.com/wahyd4/knowledge.git
synced 2026-08-09 05:06:28 +10:00
some postgres commands
This commit is contained in:
@@ -37,6 +37,14 @@
|
||||
|
||||
## Postgres
|
||||
|
||||
### Commands
|
||||
|
||||
```bash
|
||||
\list # list databases
|
||||
\c one # switch to datebase one
|
||||
\dt list all the tables
|
||||
```
|
||||
|
||||
### Create a table
|
||||
|
||||
```sql
|
||||
|
||||
Reference in New Issue
Block a user