In this project, I used a relational database to create the initial data structure for a vet clinic. I created a table to store animals' information, inserted some data into it, and queried it.
SQL - Structured Query Language
- a table named animals with the following columns:
- id: integer
- name: string
- date_of_birth: date
- escape_attempts: integer
- neutered: boolean
- weight_kg: decimal
To get a local copy up and running, follow these steps.
In order to run this project you need:
- To download and install PostgreSQL
- Go through documentation
Clone this repository to your desired folder:
cd my-project
git clone https://github.com/geekelo/vet_clinic_database.git
Install this project with:
cd vet_clinic_database
code .
To run the project, execute the following command:
- Launch Terminal
- Connect to database
\c vet_clinic database
To run tests, run the following command:
- Run commands to create and query database
At the moment this project is not deployed
👤 Eloghene Otiede
- GitHub: @githubhandle
- Twitter: @twitterhandle
- LinkedIn: LinkedIn
👤 Mahdi Noori
- GitHub: @Mahdi Noori
- LinkedIn: @Mahdi Noori
- Add SQL Commands for updating database
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project kindly give it a star. Thanks in advance.
I would like to thank Microverse for inspiring this project.
-
Can I use a GUI when working with Postgresql?
- Yes you can. Postgresql comes with GUI and CLI interfaces
-
Do I have to use constraints when creating my table?
- It is necessary to do soo in other to avoid errors with data
This project is MIT licensed.