ITurres / vet-clinic-db-2

🐘PostgreSQL🐘 | database structure for a vet clinic.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vet clinic logo

Vet Clinic database 2


πŸ“— Table of Contents


πŸ“– Vet Clinic database 2

  • This project is intended to get familiar with relational databases, SQL, PostgreSQL, psql, and pgAdmin.

ERD:

vet-clinic-erd


Learning objectives

  • Build a relational database based on a real-life example.

πŸ›  Built With

Tech Stack


Key Features

πŸ’‘ Database Initialization:

  • Initialize the database to create a robust foundation.

πŸ’‘ Animals Table Setup:

  • Set up the Animals table to organize and store crucial data.

πŸ’‘ Data Population:

  • Populate the table with relevant information to fuel the db.

πŸ’‘ Complex Data Queries:

  • Execute advanced data queries to extract precise insights.

πŸ’‘ Data Modification with Transaction Control:

  • Implement transaction control for secure data updates, including rollback and commit operations.

πŸ’‘ Data Removal with Transaction Safeguards:

  • Apply transaction safeguards for confident data removal, with rollback and commit operations.

πŸ’‘ Data Updates with Savepoint Management:

  • Manage data updates efficiently using savepoints within the transactions.

πŸ’‘ Table Querying with Aggregate Results:

  • Retrieve aggregated responses from the table, providing meaningful insights.

(back to top)


πŸ’» Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

Setup

Clone this repository to your desired folder:

Example commands:

  • With SSH:
  cd my-folder
  git clone git@github.com:ITurres/vet-clinic-db-2.git
  • With HTTPS:
  cd my-folder
  git clone https://github.com/ITurres/vet-clinic-db-2.git
  • With GitHub CLI:
  cd my-folder
  gh repo clone ITurres/vet-clinic-db-2

Install

  • N/A

Usage

To run the project, execute the following command:

  • N/A

Run tests

  • N/A

(back to top)


πŸ‘₯ Authors

πŸ‘€ Arthur Iturres

(back to top)


πŸ”­ Future Features

  • query and update animals table.
  • query multiple tables.
  • add "join table" for visits.
  • database performance audit.
  • add database schema diagram.

(back to top)


🀝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)


⭐️ Show your support

Give a ⭐ if you liked this project!

(back to top)


πŸ™ Acknowledgments

I thank the Code Reviewers for their advice and time πŸ†

(back to top)


πŸ“ License

This project is MIT licensed.

(back to top)


About

🐘PostgreSQL🐘 | database structure for a vet clinic.

License:MIT License


Languages

Language:SQL 100.0%