{"id":28414018,"url":"https://github.com/tinyhiker/nba_greatest_teams","last_synced_at":"2026-01-30T14:19:02.140Z","repository":{"id":293555673,"uuid":"984404960","full_name":"tinyHiker/NBA_greatest_teams","owner":"tinyHiker","description":"Ad hoc analysis on NBA data ","archived":false,"fork":false,"pushed_at":"2025-05-15T22:48:44.000Z","size":990,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-22T22:34:35.025Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/tinyHiker.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,"zenodo":null}},"created_at":"2025-05-15T22:01:11.000Z","updated_at":"2025-05-15T22:48:48.000Z","dependencies_parsed_at":"2025-05-15T23:39:10.809Z","dependency_job_id":null,"html_url":"https://github.com/tinyHiker/NBA_greatest_teams","commit_stats":null,"previous_names":["tinyhiker/nba_greatest_teams"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tinyHiker/NBA_greatest_teams","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinyHiker%2FNBA_greatest_teams","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinyHiker%2FNBA_greatest_teams/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinyHiker%2FNBA_greatest_teams/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinyHiker%2FNBA_greatest_teams/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinyHiker","download_url":"https://codeload.github.com/tinyHiker/NBA_greatest_teams/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinyHiker%2FNBA_greatest_teams/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28914020,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T12:13:43.263Z","status":"ssl_error","status_checked_at":"2026-01-30T12:13:22.389Z","response_time":66,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-06-03T06:11:29.677Z","updated_at":"2026-01-30T14:19:02.101Z","avatar_url":"https://github.com/tinyHiker.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# NBA Winners and Losers– Oracle SQL Developer Edition\n\nA mini‑project that answers three classic basketball questions using pure SQL and an open Kaggle dataset.\n\n| Question                                                                 | Answer                               |\n| ------------------------------------------------------------------------ | ----------------------------------------------------------------- |\n|  1. Which franchise has won the most games all-time?                     | Boston Celtics                                                    |\n|  2. Which franchise had the best single-season record?                   | The 2015 Golden State Warriors |\n|  3. Whihc franchise had the worst single-season record?                  | The 2011 Charlotte Bobcats                                       |\n\n---\n\n## Dataset\n\n* **Source**: [Kaggle – NBA Database](https://www.kaggle.com/datasets/wyattowalsh/basketball/data)\n* **Original form**: \\~20 CSV files (games, teams, players, etc.)\n* **Table used here**: **`GAME`** – one row per game with results for both teams.\n\n| Column           | Example            | Notes                |\n| ---------------- | ------------------ | -------------------- |\n| `GAME_DATE`      | 1949‑11‑02         | DATE                 |\n| `TEAM_NAME_HOME` | \"Detroit Pistons\"  |                      |\n| `TEAM_NAME_AWAY` | \"Boston Celtics\"   |                      |\n| `WL_HOME`        | `\"W\"` / `\"L\"`      | Result for home team |\n| `WL_AWAY`        | `\"L\"` / `\"W\"`      | Result for away team |\n| `SEASON_ID`      | `\"S2019\"`          | Kaggle’s season code |\n| `SEASON_TYPE`    | `\"Regular Season\"` | filters out playoffs |\n\n## Import workflow\n\n1. **Download CSVs** from Kaggle.\n2. **Oracle SQL Developer ▶ Tools ▶ Import Data** → target table `GAME`.\n3. Repeat for each CSV or use the wizard’s batch mode.\n\n*(On a fresh Oracle 21c XE install the whole import fits comfortably in the default USERS tablespace.)*\n\n\n## Question 1 Result\n![Alt text for screen readers](/images/Question1Result.png)\n\n## Question 2 Result\n![Alt text for screen readers](/images/Question2Answer.png)\n\n## Question 3 Result\n![Alt text for screen readers](/images/Question3Answer.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinyhiker%2Fnba_greatest_teams","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinyhiker%2Fnba_greatest_teams","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinyhiker%2Fnba_greatest_teams/lists"}