{"id":19491569,"url":"https://github.com/mastermindromii/sql-interview-preparation-questions","last_synced_at":"2025-02-25T19:45:32.214Z","repository":{"id":226086285,"uuid":"767714506","full_name":"MasterMindRomii/SQL-Interview-Preparation-Questions","owner":"MasterMindRomii","description":"Welcome to my SQL interview preparation repository! This repo are a collection of common SQL questions and theoretical concepts that are frequently asked in Data Science \u0026 Analytics interviews!","archived":false,"fork":false,"pushed_at":"2024-03-05T20:15:12.000Z","size":240,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T08:46:27.606Z","etag":null,"topics":["advance-sql","database","dml-commands","interview-preparation","interview-questions","rdbms","sql"],"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/MasterMindRomii.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}},"created_at":"2024-03-05T19:12:00.000Z","updated_at":"2024-03-13T15:32:51.000Z","dependencies_parsed_at":"2024-03-08T09:45:58.132Z","dependency_job_id":null,"html_url":"https://github.com/MasterMindRomii/SQL-Interview-Preparation-Questions","commit_stats":null,"previous_names":["mastermindromii/sql-interview-preparation-questions"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasterMindRomii%2FSQL-Interview-Preparation-Questions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasterMindRomii%2FSQL-Interview-Preparation-Questions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasterMindRomii%2FSQL-Interview-Preparation-Questions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasterMindRomii%2FSQL-Interview-Preparation-Questions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MasterMindRomii","download_url":"https://codeload.github.com/MasterMindRomii/SQL-Interview-Preparation-Questions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240738091,"owners_count":19849546,"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":["advance-sql","database","dml-commands","interview-preparation","interview-questions","rdbms","sql"],"created_at":"2024-11-10T21:17:20.748Z","updated_at":"2025-02-25T19:45:32.166Z","avatar_url":"https://github.com/MasterMindRomii.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQL Interview Questions for Data Science\n\nWelcome to my SQL interview preparation repository! Below are a collection of common SQL questions and theoretical concepts that are frequently asked in Data Science interviews.\n\n## Common Questions\n\n1. Write a query to add multiple columns in a table.\n2. Write a query to add/delete multiple columns in a table.\n3. Write a query to find out the 2nd highest value in a table.\n4. Find the maximum value without using ORDER BY.\n5. Find managers of all employees.\n6. Use of wildcards.\n7. If-else based questions.\n8. Find category-wise top value.\n9. Find/delete all the duplicate values.\n10. Joining tables.\n\n## Theory Questions\n\n1. SQL Vs NoSQL Databases.\n2. Tables required for many-to-many relationships.\n3. Draw schema design for swiggy.\n4. Types of Joins -\u003e Union Vs Union All\n5. OLAP Vs OLTP [Normalized Vs Denormalized Data]\n6. Database keys\n7. Types of normalization\n8. What are indexes in Databases and what are its types\n9. What are transactions in databases? Explain ACID properties.\n10. Define\n    - Views\n    - Stored Procedures\n\nFeel free to contribute by adding more questions or improving existing solutions!\n\n## Contributing\nContributions are welcome! If you have additional SQL questions or improvements to existing solutions, feel free to open a pull request.\n\n## License\nThis repository is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmastermindromii%2Fsql-interview-preparation-questions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmastermindromii%2Fsql-interview-preparation-questions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmastermindromii%2Fsql-interview-preparation-questions/lists"}