Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lnvaldez/pokemon-database

A comprehensive SQL-based project for managing a Pokémon database. Includes scripts for creating, reading, updating, and deleting trainers, Pokémon, battles, and trainer-Pokémon relationships.
https://github.com/lnvaldez/pokemon-database

crud data-deletion data-insertion data-manipulation data-relationships data-retrieval data-update database database-design database-management pokemon project-management relational-database sql sql-project sql-queries sql-scripts

Last synced: about 2 hours ago
JSON representation

A comprehensive SQL-based project for managing a Pokémon database. Includes scripts for creating, reading, updating, and deleting trainers, Pokémon, battles, and trainer-Pokémon relationships.

Awesome Lists containing this project

README

        

🔴 Pokémon-Database ⚪


SQL scripts to create and manage a Pokémon database. The database includes tables for trainers, Pokémon, and battles, along with relationships between trainers and Pokémon. The repository also includes various SQL queries to interact with the data.

## 🔑 Database Schema

![DATABASE_SCHEMA](/assets/db_schema.png)

⚙️ CRUD

### ➕ Create

- [Add trainers](/insert/insert_trainer.sql)
- [Add pokemon](/insert/insert_pokemon.sql)
- [Add battles](/insert/insert_battle.sql)
- [Add trainer-pokemon relationship](/insert/insert_trainer_pokemon_relationship.sql)

### 📖 Read

- [Retrieve all pokemon and trainers](/select/select_pokemon_and_trainers.sql)
- [Retrieve a trainer's pokemon](/select/select_pokemon_for_trainer.sql)
- [Retrieve all trainers](/select/select_trainers_with_pokemon.sql)
- [Retrieve a battle](/select/select_battle.sql)

### ☝️ Update

- [Update trainer data](/update/update_trainer.sql)
- [Update pokemon data](/update/update_pokemon.sql)
- [Update battle data](/update/update_battle.sql)

### ❌ Delete

- [Delete trainer records](/delete/delete_trainer_records.sql)
- [Delete pokemon records](/delete/delete_pokemon_records.sql)
- [Delete trainer-pokemon relationship](/delete/delete_trainer_pokemon_relationship.sql)

---

![Ivysaur](https://github.com/TheArtificial/pokemon-icons/blob/master/_icons/SVG/002-ivysaur-shiny.svg?short_path=426f0b8)
![Venusaur](https://github.com/TheArtificial/pokemon-icons/blob/master/_icons/SVG/003-venusaur-shiny.svg?short_path=426f0b8)
![Charmander](https://github.com/TheArtificial/pokemon-icons/blob/master/_icons/SVG/004-charmander-shiny.svg?short_path=426f0b8)
![Charmeleon](https://github.com/TheArtificial/pokemon-icons/blob/master/_icons/SVG/005-charmeleon-shiny.svg?short_path=426f0b8)
![Charizard](https://github.com/TheArtificial/pokemon-icons/blob/master/_icons/SVG/006-charizard-shiny.svg?short_path=426f0b8)

[Icons by TheArtificial](https://theartificial.github.io/pokemon-icons/)