{"id":25091530,"url":"https://github.com/memosainz/sportclub-mysql-phpmyadmin","last_synced_at":"2025-07-04T12:06:06.512Z","repository":{"id":251511988,"uuid":"837627531","full_name":"MemoSainz/SportClub-MySQL-phpMyAdmin","owner":"MemoSainz","description":"A small exercise. Two tables emulating the database of a sport club. Where it's being used phpMyAdmin with MySQL.","archived":false,"fork":false,"pushed_at":"2024-08-03T15:41:52.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T20:47:35.135Z","etag":null,"topics":["myphpadmin","mysql","sql"],"latest_commit_sha":null,"homepage":"","language":null,"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/MemoSainz.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":"2024-08-03T14:32:32.000Z","updated_at":"2024-08-03T15:41:54.000Z","dependencies_parsed_at":"2024-08-03T16:23:01.910Z","dependency_job_id":"8e9784c2-eed1-4bf1-be7a-16622dc2c3c6","html_url":"https://github.com/MemoSainz/SportClub-MySQL-phpMyAdmin","commit_stats":null,"previous_names":["memosainz/sportclub-mysql-phpmyadmin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MemoSainz/SportClub-MySQL-phpMyAdmin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MemoSainz%2FSportClub-MySQL-phpMyAdmin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MemoSainz%2FSportClub-MySQL-phpMyAdmin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MemoSainz%2FSportClub-MySQL-phpMyAdmin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MemoSainz%2FSportClub-MySQL-phpMyAdmin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MemoSainz","download_url":"https://codeload.github.com/MemoSainz/SportClub-MySQL-phpMyAdmin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MemoSainz%2FSportClub-MySQL-phpMyAdmin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263507828,"owners_count":23477402,"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":["myphpadmin","mysql","sql"],"created_at":"2025-02-07T13:35:15.304Z","updated_at":"2025-07-04T12:06:06.492Z","avatar_url":"https://github.com/MemoSainz.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e \n  \n  ## Sport Club\n\nA database created called Club in where it's included two tables: sports \u0026 people.\n\n\u003c/div\u003e\n\n\u003e [!IMPORTANT]\n\u003e Development\n\u003e - Every person will have: num_person, name, surname \u0026 dni. And they will be assigned one sport.\n\u003e\n\u003e - Every sport willhave: fk_code, is_it_grupal. (This last one due people obviously play sports with many people or just one person, like tennis)\n\u003e\n\u003e - A development of the datababase with their corresponding tables and relations.\n\u003e\n\u003e - Add at least 10 registries in the table of people and 3 in the table of sports (tennis, football and basket are suggested)\n\n\n\n\n\n\n\u003cbr\u003e\n\n\u003cdiv align=\"center\"\u003e \n\n## Queries  SQL\n\nIt is required, after doing the development of the exercise, this 4 sections.\n\n\u003c/div\u003e\n\n- Obtain a whole list of all the people\n  \n    ```sql\n    SELECT * FROM people;\n    ```\n\n- Obtain a whole list of all sports\n\n  ```sql\n  SELECT * FROM sports;\n  ```\n\n- Obtain a list of th people who practices tennis.\n\n  ```sql\n  SELECT * FROM people WHERE fk_code=1;\n  ```\n\n- Obtain the quantity of people who practices football.\n    ```sql\n    SELECT COUNT(fk_code) FROM people WHERE (fk_code=3);\n    ```\n\u003cbr\u003e\n\n\u003cimg src=\"https://i.imgur.com/3WPiROM.png\"\u003e\n\n\u003cimg src=\"https://i.imgur.com/E5nWFXn.png\"\u003e\n\n\u003cimg src=\"https://i.imgur.com/d77kVK8.png\"\u003e\n\n\n\u003cbr\u003e\n\n\u003cdiv align=\"center\"\u003e \n\u003ca target=\"_blank\" href=\"https://github.com/MemoSainz/Portfolio\"\u003e\n\u003cimg alt=\"Static Badge\" src=\"https://img.shields.io/badge/Portfolio-blue?style=for-the-badge\u0026logo=googlechrome\u0026logoColor=%23f8f8ff\u0026logoSize=auto\u0026label=Memo%27s\u0026labelColor=%23304674\u0026color=%2382C2FF\"\u003e\n\u003c/a\u003e\n\u003ca target=\"_blank\" href=\"https://www.youtube.com/@tioalex-px\"\u003e\n\u003cimg alt=\"Static Badge\" src=\"https://img.shields.io/badge/Tech%20Cult-blue?style=for-the-badge\u0026logo=youtube\u0026logoColor=%23f8f8ff\u0026logoSize=30\u0026label=Memo's\u0026labelColor=%23ec8f16\u0026color=%2300a86b\"\u003e\n\u003c/a\u003e\n\u003ca target=\"_blank\" href=\"https://github.com/MemoSainz/\"\u003e\n\u003cimg alt=\"Static Badge\" src=\"https://img.shields.io/badge/GitHub-blue?style=for-the-badge\u0026logo=github\u0026logoColor=%23f8f8ff\u0026logoSize=30\u0026label=Memo's\u0026labelColor=slateblue\u0026color=gray\"\u003e\n\u003c/a\u003e\n\n\u003cbr\u003e\n\n\n\u003cb\u003e All lefts reserved \t\u0026#169; Memo Sainz 2024 \u003c/b\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemosainz%2Fsportclub-mysql-phpmyadmin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmemosainz%2Fsportclub-mysql-phpmyadmin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemosainz%2Fsportclub-mysql-phpmyadmin/lists"}