This is a project to practice SQL queries. It is a database for a vet clinic.
The database contains the following tables:
animals
with the following columns:
id: integer
name: string
date_of_birth: date
escape_attempts: integer
neutered: boolean
weight_kg: decimal
This repository includes files with plain SQL that can be used to recreate a database:
- Used schema.sql to create all tables.
- Used data.sql to populate tables with sample data.
- queries.sql contains queries that can be run on a newly created database. Important note: this file might include queries that make changes in the database (e.g., remove records). Use them responsibly!
- 📖 About the Project
- 💻 Getting Started
- 👥 Authors
- 🔭 Future Features
- 🤝 Contributing
- ⭐️ Show your support
- 🙏 Acknowledgements
- ❓ FAQ
- 📝 License
This is a relational database to create the data structure for a vet clinic.
Vet Clinic will have the following tables:
animals
animals owners
clinic employees
visits
Database
- Create tables
- Populate data to the tables
- Make queries to the tables
To get a local copy up and running, follow these steps.
In order to run this project you need:
postgress sql installed in your computer
Clone this repository to your desired folder:
commands:
cd my-folder
git clone git@github.com:Ochiengsteven/the-vet-clinic.git
To run the project:
run the queries.sql file in your postgress sql
- GitHub: @Ochiengsteven
- Twitter: @Ochiengsteven
- LinkedIn: Ochieng Steven
- Add animals' owners table
- Add clinic employees table
- Add visits table
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project please give me a ⭐️!
I would like to thank microverse for giving me this opportunity to learn and build this project.
This project is MIT licensed.