{"id":31177832,"url":"https://github.com/suspect-47/practice-run-mysql","last_synced_at":"2025-10-07T03:45:01.571Z","repository":{"id":315352575,"uuid":"1059142208","full_name":"suspect-47/practice-run-mysql","owner":"suspect-47","description":"SQL Practice Runs: Progressive assignments (run 1–15) built from beginner to intermediate level using MySQL. It covers SELECT, JOIN, WHERE, GROUP BY, HAVING, ORDER BY, aggregate functions, aliases, and query optimization.","archived":false,"fork":false,"pushed_at":"2025-09-18T04:03:38.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-18T06:06:51.003Z","etag":null,"topics":["awsserver","mysql-database","sql"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/suspect-47.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-18T03:59:34.000Z","updated_at":"2025-09-18T04:05:08.000Z","dependencies_parsed_at":"2025-09-18T06:06:54.143Z","dependency_job_id":"1474f83c-d15f-4d21-be5d-8b01628275ca","html_url":"https://github.com/suspect-47/practice-run-mysql","commit_stats":null,"previous_names":["suspect-47/practice-run-mysql"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/suspect-47/practice-run-mysql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suspect-47%2Fpractice-run-mysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suspect-47%2Fpractice-run-mysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suspect-47%2Fpractice-run-mysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suspect-47%2Fpractice-run-mysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suspect-47","download_url":"https://codeload.github.com/suspect-47/practice-run-mysql/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suspect-47%2Fpractice-run-mysql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278717439,"owners_count":26033542,"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-10-07T02:00:06.786Z","response_time":59,"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":["awsserver","mysql-database","sql"],"created_at":"2025-09-19T14:30:30.365Z","updated_at":"2025-10-07T03:45:01.555Z","avatar_url":"https://github.com/suspect-47.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🗄️ SQL Practice Runs\n\nThis repository contains my **SQL practice exercises (run 1–15)**, progressively built in difficulty.  \nThe queries were executed in **MySQL**, focusing on mastering foundational SQL concepts and gradually advancing toward more complex operations.\n\n## 📌 Project Overview\n- Database: `customer`, `customer_dim`, `order_dim`\n- Tools: **MySQL Workbench** **AWS Cloud**\n- Structure: Queries are organized as **run 1 → run 15** with increasing complexity.\n\n## 🧩 Practice Task Coverage\n\n### **run 1–10**\n1. Basic `SELECT` and `FROM`\n2. Selecting specific columns\n3. Incorrect joins (and identifying errors)\n4. Correct joins with `WHERE` and dot notation\n5. Using **table aliases**\n6. Filtering data with `WHERE`\n7. Sorting with `ORDER BY`\n8. Aggregations with `GROUP BY` and `COUNT`\n9. Filtering grouped results with `HAVING`\n10. Full query with all clauses (`SELECT`, `FROM`, `WHERE`, `GROUP BY`, `HAVING`, `ORDER BY`)\n\n### **run 11–15**\n11. Aggregate functions – `MIN`, `MAX`\n12. Aggregate functions – `AVG`, `SUM`\n13. Combining functions with `WHERE`\n14. Rounding results and `GROUP BY`\n15. Using `TOP` (MS Access) / `LIMIT` (MySQL) for ranked results\n\n---\n\n## 📊 Learning Outcomes\n- Mastered **SQL query order** (`SELECT → FROM → WHERE → GROUP BY → HAVING → ORDER BY`)\n- Learned differences between **MS Access and MySQL** (`TOP` vs `LIMIT`)\n- Gained confidence in:\n  - Writing clean, structured queries\n  - Using aggregate functions effectively\n  - Understanding query logic flow\n  - Handling grouped results and filtering\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuspect-47%2Fpractice-run-mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuspect-47%2Fpractice-run-mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuspect-47%2Fpractice-run-mysql/lists"}