{"id":24021221,"url":"https://github.com/zipcodecore/de.sql.givemethegoods","last_synced_at":"2025-02-25T23:47:18.269Z","repository":{"id":147837662,"uuid":"244296548","full_name":"ZipCodeCore/DE.SQL.GiveMeTheGoods","owner":"ZipCodeCore","description":null,"archived":false,"fork":false,"pushed_at":"2020-03-05T10:38:13.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-08T12:41:28.811Z","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-02T06:26:12.000Z","updated_at":"2022-02-03T19:00:32.000Z","dependencies_parsed_at":"2023-04-06T06:47:30.729Z","dependency_job_id":null,"html_url":"https://github.com/ZipCodeCore/DE.SQL.GiveMeTheGoods","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%2FDE.SQL.GiveMeTheGoods","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZipCodeCore%2FDE.SQL.GiveMeTheGoods/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZipCodeCore%2FDE.SQL.GiveMeTheGoods/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZipCodeCore%2FDE.SQL.GiveMeTheGoods/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZipCodeCore","download_url":"https://codeload.github.com/ZipCodeCore/DE.SQL.GiveMeTheGoods/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:40:04.136Z","updated_at":"2025-02-25T23:47:18.249Z","avatar_url":"https://github.com/ZipCodeCore.png","language":null,"readme":"# Give Me the Goods: More Introductory SQL Queries\nGiven the scenarios, add the the directed queries to the \"answers\" directory's files.\n\n## Selecting Records\n\n### Where\n\nUse the **NOT** keyword to select all records in the **Students** table where **City** is NOT \"Philadelphia\".\n\n*(Add your query to the file exercise1.sql)*\n\nSelect all records in the **Students** table where the **City** column has the value 'Philadelphia' or 'Trenton'.\n\n*(Add your query to the file exercise2.sql)*\n\n### Order By\nSelect all records from the **Students** table, sort the result alphabetically by the column **City**.\n\n*(Add your query to the file exercise3.sql)*\n\nSelect all records from the **Students** table, sort the result reversed alphabetically by the column **City**.\n\n*(Add your query to the file exercise4.sql)*\n\nSelect all records from the **Students** table, sort the result alphabetically, first by the column **Country**, then by the column **City**.\n\n*(Add your query to the file exercise5.sql)*\n\n### Null values\nSelect all records from the **Students** where the **PostalCode** column is empty.\n\n*(Add your query to the file exercise6.sql)*\n\nSelect all records from the **Students** where the **PostalCode** column is **NOT** empty.\n\n*(Add your query to the file exercise7.sql)*\n\n\n## Like\n\n### Wildcards \nSelect all records from the **Students** table where the last letter of the **City** is an \"a\".\n\n*(Add your query to the file exercise8.sql)*\n\n\nSelect all records from the **Students** table where the first letter of the **\n** is an \"a\" or a \"c\" or an \"s\".\n\n\n*(Add your query to the file exercise9.sql)*\n\n\nSelect all records from the **Students** table where the first letter of the **City** is NOT an \"a\" or a \"c\" or an \"f\".\n\n\n*(Add your query to the file exercise10.sql)*\n\n\n## IN\nUse the **IN** operator to select all the records from the **Students** table where **Country** is either \"Sint Maarten\" or \"Haiti\".\n\n*(Add your query to the file exercise11.sql)*\n\n\nUse the **IN** operator to select all the records from the **Students** table where **Country** is NOT \"Sint Maarten\" and NOT \"Haiti\".\n\n*(Add your query to the file exercise12.sql)*\n \n## Between values\n\nUse the **BETWEEN** operator to select all the records from the **Courses** table where the value of the **CreditHours** column is between 10 and 20.\n\n*(Add your query to the file exercise13.sql)*\n\nUse the **BETWEEN** operator to select all the records from the **Courses** table where the value of the **CreditHours** column is NOT between 10 and 20.\n\n\n*(Add your query to the file exercise14.sql)*\n\nUse the **BETWEEN** operator to select all the records from the **Courses** table where the value of the **CourseName** column is alphabetically between 'ColdFusion' and 'Python'.\n\n\n*(Add your query to the file exercise15.sql)*\n\n## Aliases\n\nWhen displaying the **Students** table, make an alias of the **PostalCode** column, the column should be called **Zip** instead.\n\n\n*(Add your query to the file exercise16.sql)*\n\n\nWhen displaying the **Students** table, refer to the table as **Learners** instead of Students.\n\n*(Add your query to the file exercise17.sql)*\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzipcodecore%2Fde.sql.givemethegoods","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzipcodecore%2Fde.sql.givemethegoods","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzipcodecore%2Fde.sql.givemethegoods/lists"}