[vet-clinic-db] is a program that creates a data base for a vet clinic.
- postgresql
- [Creates animals table]
- [Populates the table with animals]
- [Make different queries]
To get a local copy up and running, follow these steps.
In order to run this project you need:
- install postgreSQL
Clone this repository to your desired folder:
cd my-folder
git clone https://github.com/yuvenalmash/vet-clinic-db.git
- Connect to your PostgreSQL server with
psql
> psql
postgres=#
- Create the database
vet_clinic
postgres=# CREATE DATABASE vet_clinic;
CREATE DATABASE
- Connect to your database vet_clinic. Inside your current session do:
postgres=# \c vet_clinic
You are now connected to database "vet_clinic" as user "postgres".
vet_clinic=#
You have created your database and connected to it. Next, add a table.
- 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.
👤 Yuvenal Njoroge
- GitHub: @yuvenalmash
- Twitter: @Juvenal
- LinkedIn: Yuvenal Njoroge
- [Increase functionality]
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project give it a star.
I would like to thank microverse for the inspiration.
This project is MIT licensed.
NOTE: we recommend using the MIT license - you can set it up quickly by using templates available on GitHub. You can also use any other license if you wish.