{"id":18499259,"url":"https://github.com/siddik-1997/basic-sql-queries","last_synced_at":"2025-05-14T05:35:02.091Z","repository":{"id":239947703,"uuid":"599289938","full_name":"Siddik-1997/Basic-SQL-Queries","owner":"Siddik-1997","description":"This repository contains a collection of basic SQL queries for working with MySQL. The queries cover a variety of common operations, including SELECT, Create, Search, Update. Each query includes a brief description and is well-commented for easy understanding. ","archived":false,"fork":false,"pushed_at":"2023-02-14T15:26:39.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T00:48:32.142Z","etag":null,"topics":["basicsql","database","sql","xampp-server"],"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/Siddik-1997.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":"2023-02-08T20:49:21.000Z","updated_at":"2023-02-26T07:37:08.000Z","dependencies_parsed_at":"2024-05-16T03:41:22.595Z","dependency_job_id":"6f8e800f-ac0d-476b-b6c7-e87ace17f0d5","html_url":"https://github.com/Siddik-1997/Basic-SQL-Queries","commit_stats":null,"previous_names":["siddik-1997/basic-sql-queries"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddik-1997%2FBasic-SQL-Queries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddik-1997%2FBasic-SQL-Queries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddik-1997%2FBasic-SQL-Queries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddik-1997%2FBasic-SQL-Queries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Siddik-1997","download_url":"https://codeload.github.com/Siddik-1997/Basic-SQL-Queries/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254077052,"owners_count":22010649,"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":["basicsql","database","sql","xampp-server"],"created_at":"2024-11-06T13:45:11.180Z","updated_at":"2025-05-14T05:35:02.067Z","avatar_url":"https://github.com/Siddik-1997.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Basic-SQL-Queries\n## Technology Used:\n- Xampp\n- SQLyog\n\n\n## Queries executed based on:\n\n1. Create a database named database_assignment.\n2. create a table named customers.\n3. insert the following customer data:\n\n- a)\nFirst Name: Babara\nLast Name: MacCaffrey\nDate of Birth: 1986-03-28\nPhone: 781-932-9754\nAddress: 0 Sage Terrace\nCity: Waltham\nState: MA\nPoints: 2273\n\n\n- b)\nFirst Name: Ines\nLast Name: Brushfield\nDate of Birth: 1986-04-13\nPhone: 804-427-9456\nAddress: 14187 Commercial Trail\nCity: Hampton\nState: VA\nPoints: 947\n\n\n- c)\nFirst Name: Freddi\nLast Name: Boagey\nDate of Birth: 1985-02-07\nPhone: 719-724-7869\nAddress: 251 Springs Junction\nCity: Colorado Springs\nState: CO\nPoints: 2967\n\n\n- d)\nFirst Name: Ambur\nLast Name: Roseburgh\nDate of Birth: 1974-04-14\nPhone: 407-231-8017\nAddress: 30 Arapahoe Terrace\nCity: Orlando\nState: FL\nPoints: 457\n\n\n- e)\nFirst Name: Clemmie\nLast Name: Betchley\nDate of Birth: 1973-11-07\nPhone:\nAddress: 5 Spohn Circle\nCity: Arlington\nState: TX\nPoints: 3675\n\n\n4. Show only 2 members whose points are more than 1000.\n5. Find the customers whose age is in 1980 to 1990 or points less than 1000.\n6. Order the customers by points in ascending order.\n7. Find the customer whose name contains 'burgh' using Regular Expression.\n8. Find the customer who does not have phone number.\n9. Change the 'Date of Birth' column name into 'dob'.\n10. Find the max point holder customer name.\n11. Execute a query for the following scenario.\n- If customers have points less than 1000, they are bronze member.\n- If customers have points more than 1000 and less than 2000, they are silver member.\n- If customers have points more than 2000 and less than 3000, they are gold member.\n- If customers have points more than 3000, they are platinum member.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddik-1997%2Fbasic-sql-queries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiddik-1997%2Fbasic-sql-queries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddik-1997%2Fbasic-sql-queries/lists"}