Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/benawi/vet-clinic-database

A relational database used to create the initial data structure for a vet clinic
https://github.com/benawi/vet-clinic-database

postgresql

Last synced: about 5 hours ago
JSON representation

A relational database used to create the initial data structure for a vet clinic

Awesome Lists containing this project

README

        

###



πŸ›°Vet-clinic-databaseπŸš€

# πŸ“— Table of Contents

- [πŸ“– About the Project](#about-project)
- [πŸ›  Built With](#built-with)
- [Tech Stack](#tech-stack)
- [Key Features](#key-features)

- [πŸ’» Getting Started](#getting-started)


- [πŸ‘₯ Authors](#authors)
- [πŸ”­ Future Features](#future-features)
- [🀝 Contributing](#contributing)
- [⭐️ Show your support](#support)
- [πŸ™ Acknowledgements](#acknowledgements)

- [πŸ“ License](#license)

# πŸ“– Vet-clinic-database
This repository includes files with plain SQL that can be used to recreate a database:

- Use [schema.sql](./schema.sql) to create all tables.
- Use [data.sql](./data.sql) to populate tables with sample data.
- Check [queries.sql](./queries.sql) for examples of queries that can be run on a newly created database.
## πŸ›  Built With

## Tech Stack

## πŸ”‘ Key Features

### Vet-clinic-database [Requirements](https://github.com/microverseinc/curriculum-databases/blob/main/db-structure/sneak_peek.md)

- [x] Populate data to the table
- [x] Transactions allow making changes in isolation and rolling back if needed
- [x] Demonstrates BEGIN TRANSACTION, COMMIT, and ROLLBACK
- [x] Allows verifying changes before committing
- [x] Demonstrates deleting subsets of rows
- [x] Creates a savepoint within a transaction
- [x] Allows rolling back to a mid-transaction savepoint
- [x] Basic aggregation queries like COUNT, AVG, MIN, and MAX functions
- [x] Conditional filtering WHERE clause to filter result setg, group results by a column like animal type and apply aggregates per group
- [x] `owners` table to store owner information
- [x] `species` table to store animal species
- [x] `animals` table to store animal data, with foreign keys linking to owners and species
- [x] Queries implemented using SQL JOINS to answer questions like:
- What animals belong to an owner
- List animals by species
- List owners and their animals
- Count animals per species
- Other analytics like most owned animals
- [x] Apply types of relationships between tables
- [x] Database performance audit

(back to top)

## πŸ‘₯ Authors

### πŸ‘€ Habtamu Alemayehu

- GitHub: [Benawi](https://github.com/Benawi)
- Linkdin: [Habtamu](https://www.linkedin.com/in/habtamualemayehu/)
### πŸ‘€ Bwambale
- GitHub: [Benawi](https://github.com/wolterbwamabale)
- Linkdin: [Bwambale](https://www.linkedin.com/in/Bwambale-benny-wolter/)

## πŸ”­ Future Features
- Database performance audit.πŸ’―

(back to top)

## 🀝 Contributing

Contributions, [issues](https://github.com/Benawi/Vet-clinic-database/issues), and feature requests are welcome!

(back to top)

## ⭐️ Show your support

Give me ⭐️ If you like this project!

(back to top)

## πŸ™ Acknowledgments

- I thank the Microverse program for giving us this great chance.

(back to top)

## πŸ“ License

This project is [MIT](./MIT.md) licensed.

(back to top)