{"id":24021141,"url":"https://github.com/zipcodecore/sql.letsgettogether","last_synced_at":"2025-02-25T23:46:51.204Z","repository":{"id":45623262,"uuid":"222740095","full_name":"ZipCodeCore/SQL.LetsGetTogether","owner":"ZipCodeCore","description":null,"archived":false,"fork":false,"pushed_at":"2021-12-04T06:35:16.000Z","size":1,"stargazers_count":0,"open_issues_count":22,"forks_count":51,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-08T12:41:25.652Z","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/ZipCodeCore.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}},"created_at":"2019-11-19T16:27:25.000Z","updated_at":"2022-02-03T19:00:28.000Z","dependencies_parsed_at":"2022-09-17T07:02:25.911Z","dependency_job_id":null,"html_url":"https://github.com/ZipCodeCore/SQL.LetsGetTogether","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZipCodeCore%2FSQL.LetsGetTogether","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZipCodeCore%2FSQL.LetsGetTogether/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZipCodeCore%2FSQL.LetsGetTogether/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZipCodeCore%2FSQL.LetsGetTogether/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZipCodeCore","download_url":"https://codeload.github.com/ZipCodeCore/SQL.LetsGetTogether/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240766672,"owners_count":19854114,"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":[],"created_at":"2025-01-08T12:39:25.650Z","updated_at":"2025-02-25T23:46:51.060Z","avatar_url":"https://github.com/ZipCodeCore.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQL: Let's Get Together\n\nGiven the scenarios, add the the directed queries to the \"answers\" directory's files.\n\n\n## Introduction to Joins\n\nInsert the missing parts in the **JOIN** clause to join the two tables **Enrolments** and **Students**, using the **StudentID** field in both tables as the relationship between the two tables.\n\n```\nSELECT *\nFROM Enrolments\nLEFT JOIN Students\n[insert clause here];\n```\n*(Add your query to the file exercise1.sql)*\n\nChoose the correct **JOIN** clause to select all records from the two tables where there is a match in both tables.\n\n```\nSELECT *\nFROM Enrolments\n[insert clause here]\nON Enrolments.StudentID=Students.StudentID;\n```\n\n*(Add your query to the file exercise2.sql)*\n\n\nChoose the correct **JOIN** clause to select all the records from the **Students** table plus all the matches in the **Enrolments** table.\n\n\n```\nSELECT *\nFROM Enrolments\n[insert clause here]\nON Enrolments.StudentID=Students.StudentID;\n```\n\n*(Add your query to the file exercise3.sql)*\n\n## Grouping records by Column\nList the number of **Students** in each **Country**.\n\n\n*(Add your query to the file exercise4.sql)*\n\nList the number of **Students** in each **Country**, ordered by the **Country** with the most **Students** first.\n\n\n*(Add your query to the file exercise5.sql)*\n\n\n\nList the number of **Students** in each **Country**, ordered by the **Country** with the most **Students** first, where the number of students is greater than 10.\n\n*(Add your query to the file exercise6.sql)*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzipcodecore%2Fsql.letsgettogether","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzipcodecore%2Fsql.letsgettogether","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzipcodecore%2Fsql.letsgettogether/lists"}