- ๐ About the Project
- ๐ป Getting Started
- ๐ฅ Authors
- ๐ญ Future Features
- ๐ค Contributing
- โญ๏ธ Show your support
- ๐ Acknowledgements
- โ FAQ
human_clinic database is a project that includes database queries to create human_clinic database.
Database
- Create tables for databae
- Populate tables with sample data
- Run relavent queries to fetch data from 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.
Important note: this file might include queries that make changes in the database (e.g., remove records). Use them responsibly!
- Postgresql@14:
To install run:
brew install postgresql@14
Clone this repository to your desired folder:
cd my-folder
git clone [email protected]:shella12/vet_clinic_db.git
To run the project, start the Postgresql server first, connect with vet_clininc database and execute the following commands on terminal:
$ brew services restart postgresql@14
$ psql postgres
postgres=# CREATE DATABASE vet_clininc;
CREATE DATABASE
postgres=# \c vet_clininc;
CREATE DATABASE
Exit sql by running
postgres=# \q
Reconnect with database by
$ psql clinic
๐ค Ayesha Arshad
- GitHub: @shella12
- Twitter: @Ayesha Arshad
- LinkedIn: Ayesha Arshad
๐ค Moses Wamae
- GitHub: @mosdevx
- Twitter: @moseswamae7
- LinkedIn: LinkedIn
- Add Join queries
- Add multiple tables
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a โญ๏ธ if you like this project!
-
[Why use this repository app?]
- [To create database for vet_clinic]