{"id":14973892,"url":"https://github.com/haadiiii/vet-clinic-database","last_synced_at":"2025-07-03T11:02:46.759Z","repository":{"id":116025005,"uuid":"553025586","full_name":"Haadiiii/vet-clinic-database","owner":"Haadiiii","description":"This database is of an imaginary Vet who wanted an easier way to manage his data.","archived":false,"fork":false,"pushed_at":"2022-10-25T13:05:58.000Z","size":18,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-08T04:41:18.554Z","etag":null,"topics":["database","psql","schema","sql"],"latest_commit_sha":null,"homepage":"","language":"PLpgSQL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Haadiiii.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-17T15:40:47.000Z","updated_at":"2023-05-02T19:33:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"1777ef56-1d52-4b5d-9599-1e624411e2f3","html_url":"https://github.com/Haadiiii/vet-clinic-database","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"microverseinc/curriculum-template-databases","purl":"pkg:github/Haadiiii/vet-clinic-database","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haadiiii%2Fvet-clinic-database","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haadiiii%2Fvet-clinic-database/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haadiiii%2Fvet-clinic-database/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haadiiii%2Fvet-clinic-database/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Haadiiii","download_url":"https://codeload.github.com/Haadiiii/vet-clinic-database/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haadiiii%2Fvet-clinic-database/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263314102,"owners_count":23447290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","psql","schema","sql"],"created_at":"2024-09-24T13:49:38.627Z","updated_at":"2025-07-03T11:02:46.748Z","avatar_url":"https://github.com/Haadiiii.png","language":"PLpgSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vet-Clinic-Database\n\n\nThis database is of an imaginary Vet who wanted an easier way to manage his data. So far at this milestone I have been able to:\n- Create the Vet store database\n- Create the starter table(animals) which has information about 4 animals\n- Created owners table which has 6 owners\n- Created the species table which has 2 species\n- Created the Visits table which is a join table for animals and vets table\n- Created the specializations table hich is a join table for species and vets tables\n- Write queries to aid in performing certain functionalities eg Query the db to show all the info about all animals.\n- Made use of BEGIN, SAVEPOINT, ROLLBACK and COMMIT transactions which help to avoid a situation where you might accidentally delete records you can revert to the original state.\n- Made use of the GROUP BY clause and aggregate functions to write complex queries to request filtered information from the database.\n- Made use of Primary and Foreign key concepts to link multiple tables\n- Made use os JOIN to work with multiple tables to retireve complex queries to get customixed information about a specific table\n\n\n## ERB Diagram\n![VET_DB](https://user-images.githubusercontent.com/104095543/197780218-b07c2f9c-c3f0-4758-8a57-b853f73dd771.jpeg)\n\n\n## Getting Started\n\nThis repository includes files with plain SQL that can be used to recreate a database:\n\n- Use [schema.sql](./schema.sql) to create all tables.\n- Use [data.sql](./data.sql) to populate tables with sample data.\n- Check [queries.sql](./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!**\n\n\n## Authors\n\n👤 **Haamid Ali**\n\n- GitHub: [@Haadiiii](https://github.com/Haadiiii)\n- Twitter: [@HaaDiii_99](https://twitter.com/HaaDiii_99)\n- LinkedIn: [LinkedIn](https://www.linkedin.com/in/hamid-ali-01a872213/)\n\n👤 **soulemanou kunchiefuh babanou**\n\n- GitHub: [soulemanou](https://github.com/soulemanou-software)\n- LinkedIn: [linkedin](https://www.linkedin.com/in/soulemanou-kunchiefuh-babanou)\n\n👤 **Kwaleyela Musilizo Ikafa**\n\n- GitHub: [@Kwaleyela-Ikafa](https://github.com/Kwaleyela-Ikafa)\n- Twitter: [@K_Ikafa](https://twitter.com/K_Ikafa)\n- LinkedIn: [LinkedIn](https://www.linkedin.com/in/kwaleyela-musilizo-ikafa/)\n\n## 🤝 Contributing\n\nContributions, issues, and feature requests are welcome!\n\nFeel free to check the [issues page](../../issues/).\n\n## Show your support\n\nGive a ⭐️ if you like this project!\n\n## Acknowledgments\n\n- Hat tip to anyone whose code was used\n- Inspiration\n- etc\n\n## 📝 License\n\nThis project is [MIT](./MIT.md) licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaadiiii%2Fvet-clinic-database","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaadiiii%2Fvet-clinic-database","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaadiiii%2Fvet-clinic-database/lists"}