In the project I have used a relational database to create the initial data structure for a vet clinic. I have created a table to store animals' information, insert some data into it, and query it.
In this project, I have used a relational database to create the data structure for a vet clinic. I have started with one table, and step by step, I have created a complete database with data about:
- animals
- animals' owners
- clinic employees
- visits
In the project I have used a relational database to create the initial data structure for a vet clinic. I have created a table to store animals' information, insert some data into it, and query it.
In this section of project, I have used transactions to update and delete records. I have also used my knowledge of aggregate functions and GROUP BY to answer analytical questions.
In this section of project, I have added some new tables and add foreign key columns to your existing animals table to model one-to-many relationships. Afterward, I have used JOIN to query the data.
In this section of project, I have added some many-to-many relationships and write more complex queries to use them to answer questions.
In this section of project, I have created a database clinic with help of diagram, interpret it, and implement the SQL needed to build that database.
Database
- Create animals table.
- Query and update animals table.
- Query multiple tables.
- Add "join table" for visits.
- Database performance audit.
- Working with Transactions
To get a local copy up and running, follow these steps.
Clone this repository to your desired folder:
git clone https://github.com/MudasirSherwani/Vet-Clinic-Database.git
cd Vet-Clinic-Database
This repository includes files with plain SQL that can be used to recreate a database: Use schema.sql to create all tables. Use data.sql to populate tables with sample data. Check queries.sql for examples of queries that can be run on a newly created database.
👤 Mudasir Sherwani
- GitHub: @Mudasir Sherwani
- Twitter: @Mudasir Sherwani
- LinkedIn: Mudasir Sherwani
👤 Chimezie Asouzu
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project give me a star.
I would like to thanks Microverse to guide me to complete this project.
This project is MIT licensed.