{"id":19413715,"url":"https://github.com/vaneeza-7/airport-database","last_synced_at":"2026-03-19T09:45:25.237Z","repository":{"id":168755531,"uuid":"615677959","full_name":"Vaneeza-7/Airport-Database","owner":"Vaneeza-7","description":"✈️ SQL database for an airport, complete with relational model, entity relationship diagram, creation of tables and queries","archived":false,"fork":false,"pushed_at":"2023-06-12T15:25:46.000Z","size":499,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-25T02:45:56.693Z","etag":null,"topics":["airport-database","airport-management","sql","sql-server-database","sql-server-management-studio"],"latest_commit_sha":null,"homepage":"","language":"SQL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Vaneeza-7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-03-18T11:04:26.000Z","updated_at":"2024-11-13T22:38:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"eebf269d-13ee-4feb-9dfd-142036b1f760","html_url":"https://github.com/Vaneeza-7/Airport-Database","commit_stats":null,"previous_names":["vaneeza-7/airport-database"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Vaneeza-7/Airport-Database","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vaneeza-7%2FAirport-Database","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vaneeza-7%2FAirport-Database/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vaneeza-7%2FAirport-Database/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vaneeza-7%2FAirport-Database/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vaneeza-7","download_url":"https://codeload.github.com/Vaneeza-7/Airport-Database/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vaneeza-7%2FAirport-Database/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276621990,"owners_count":25675123,"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","status":"online","status_checked_at":"2025-09-23T02:00:09.130Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["airport-database","airport-management","sql","sql-server-database","sql-server-management-studio"],"created_at":"2024-11-10T12:34:41.810Z","updated_at":"2025-09-23T17:48:11.422Z","avatar_url":"https://github.com/Vaneeza-7.png","language":"SQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Airport-Database\nAssignment#2 @ Database Systems Course\n\n\u003ch2\u003eERD Description\u003c/h2\u003e\n\u003cu\u003eTool Used:\u003c/u\u003e ERD Plus \u003cbr\u003e\nMin-Max notation is used to model constraints.\u003cbr\u003e\n\n\u003ch3\u003eEntities and Relationships:\u003c/h3\u003e\n\u003cul\u003e\u003cli\u003eAirplane has total participation with Plane_type and Hangar.\u003c/li\u003e\n\u003cli\u003eOne Airplane will have only one Plane_type.\u003c/li\u003e \n\u003cli\u003eAirplane will have only one owner but one Owner can own many Airplanes. This relationship has attribute of purchase date (Pdate).\u003c/li\u003e\n\u003cli\u003eOne to many Airplanes can be stored in one Hangar.\u003c/li\u003e\n\u003cli\u003eService is supposed as a weak entity. Airplane has identifying relationship with Service.\u003c/li\u003e\n\u003cli\u003eA person can be an Employee, a Pilot or an Owner. Disjoint specialization is depicted here.\u003c/li\u003e\n\u003cli\u003eAn Employee has total participation with maintaining Service.\u003c/li\u003e\n\u003cli\u003eOne Employee can work on many Plane_types. Total Participation between Employee and Plane type exists.\u003c/li\u003e\n\u003cli\u003eA Pilot can fly many plane types. There is Total Participation between Pilot and Plane_type.\u003c/li\u003e\n\u003cli\u003eAn Owner can either be Person or a Corporation but not both. Hence, Union relationship is depicted for Owner entity.\u003c/li\u003e\n\u003cli\u003eAn Owner has total participation with Airplane.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch3\u003eSome Challenges:\u003c/h3\u003e\n\u003cul\u003e\u003cli\u003eModelling the specialization relationships to relational database.\u003c/li\u003e\n\u003cli\u003eModelling Service as a weak entity.\u003c/li\u003e\u003c/ul\u003e\n\n\u003ch3\u003eSolutions:\u003c/h3\u003e\nFor specialization; person, corporation, and owner tables are made. Where Owner contains the ssn of person owner and name of corporation owner.\u003cbr\u003e \nWhen person is owner, the Corporation Name column is NULL and vice versa. \u003cbr\u003e\nFor weak entity, the primary key of Airplane (on which service is dependent) was included as foreign key.\n\n\u003ch2\u003eRelational Database Description\u003c/h2\u003e\nThe database relational diagram has been provided. Each entity and relationship has been mapped to a table. \u003cbr\u003e\nSome challenges were faced during Query 13, 14 and 18. These were solved by adding multiple joins, subqueries and using union.\n\n## A View of the Database\n\u003cp float=\"left\"\u003e\n\u003cimg src=\"https://github.com/Vaneeza-7/Airport-Database/blob/master/screenshots/sc5.png\" width=\"800\" height =\"300\"\u003e\n\u003cimg src=https://github.com/Vaneeza-7/Airport-Database/blob/master/screenshots/sc4.png width=\"800\"\u003e\n\u003cimg src=https://github.com/Vaneeza-7/Airport-Database/blob/master/screenshots/sc3.png width=\"800\"\u003e\n\u003cimg src=https://github.com/Vaneeza-7/Airport-Database/blob/master/screenshots/sc2.png width=\"800\"\u003e\n\u003cimg src=https://github.com/Vaneeza-7/Airport-Database/blob/master/screenshots/sc1.png width=\"800\"\u003e\n\u003c/p\u003e\n\n## Authors\n- [Vaneeza](https://github.com/Vaneeza-7)\n- [Minha](https://github.com/Minha-Attique)\n\n## License\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaneeza-7%2Fairport-database","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaneeza-7%2Fairport-database","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaneeza-7%2Fairport-database/lists"}