sqlite-things/README.md

27 lines
795 B
Markdown
Raw Normal View History

2022-07-15 20:17:49 +00:00
# SQLITE Test Area
This is a small test area how to edit SQLite databases and update some values according to their value.
2022-07-15 20:30:24 +00:00
## Files
2022-07-15 20:17:49 +00:00
2022-07-15 20:30:24 +00:00
```
2022-07-17 22:05:20 +00:00
├── README.md # This file
├── requirements.txt
2022-07-15 20:30:24 +00:00
├── script.sh
├── sql
│   ├── create_db.sql
│   ├── insert_data.sql
2022-07-17 22:05:20 +00:00
│   ├── show_all.sql
│   ├── show_sg.sql
│   └── update_sg.sql
├── start.py
2022-07-15 20:30:24 +00:00
└── test.db
```
- `script.sh`: Small script to executre commands inside the sql-files (see `sql/`)
- `sql/`
- `create_db.sql`: creates the small test database
- `insert_data.sql`: insert some fictive test values into the database
- `show_all.sql`: Shows all the data inside the database from table customers
2022-07-15 20:31:24 +00:00
- `test.db`: Not in this repository as it will be created