{"id":22392071,"url":"https://github.com/ankushrajmaheyam/sql-top-interview-questions","last_synced_at":"2026-01-06T10:38:49.436Z","repository":{"id":266087326,"uuid":"897344856","full_name":"AnkushRajMaheYam/SQL-Top-Interview-Questions","owner":"AnkushRajMaheYam","description":"I'm excited to share sql top interview asks questions with answers that I've compiled from my learning journey at Qspider/Jspider! 🚀 Whether you’re prepping for interviews or brushing up on your SQL skills, these questions will be super helpful in understanding how subqueries work in SQL. ","archived":false,"fork":false,"pushed_at":"2024-12-31T01:43:20.000Z","size":584,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T03:44:41.930Z","etag":null,"topics":["akash","ankush","ankush-raj","ankush-raj-mahe-yam","interview","jspiders","mysq","oracle","oracle-database","qspider","question-answering","questions","sql","sql-questions","sub-query-questions","subquery","top-interview-questions"],"latest_commit_sha":null,"homepage":"https://www.linkedin.com/posts/ankushrajmaheyam_mastering-sql-subqueries-115-questions-activity-7253720042729558016-Olmw?utm_source=share\u0026utm_medium=member_desktop","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AnkushRajMaheYam.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}},"created_at":"2024-12-02T13:24:00.000Z","updated_at":"2024-12-31T01:43:24.000Z","dependencies_parsed_at":"2024-12-31T02:42:05.944Z","dependency_job_id":null,"html_url":"https://github.com/AnkushRajMaheYam/SQL-Top-Interview-Questions","commit_stats":null,"previous_names":["ankushrajmaheyam/sql-top-interview-questions"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnkushRajMaheYam%2FSQL-Top-Interview-Questions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnkushRajMaheYam%2FSQL-Top-Interview-Questions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnkushRajMaheYam%2FSQL-Top-Interview-Questions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnkushRajMaheYam%2FSQL-Top-Interview-Questions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnkushRajMaheYam","download_url":"https://codeload.github.com/AnkushRajMaheYam/SQL-Top-Interview-Questions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245743436,"owners_count":20665093,"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":["akash","ankush","ankush-raj","ankush-raj-mahe-yam","interview","jspiders","mysq","oracle","oracle-database","qspider","question-answering","questions","sql","sql-questions","sub-query-questions","subquery","top-interview-questions"],"created_at":"2024-12-05T04:15:19.372Z","updated_at":"2026-01-06T10:38:44.386Z","avatar_url":"https://github.com/AnkushRajMaheYam.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Top Interview SQL Questions: By Ankush Raj  \n\n### **Repository Description:**  \nThis repository contains a comprehensive collection of **Top SQL Interview Questions**, carefully designed to help you prepare and excel in SQL interviews. All queries have been authored by **Ankush Raj** (or **Ankush Raj Mahe Yam**).  \n\nFor a downloadable PDF of these queries, visit my LinkedIn page via the link provided below.\n\n---\n\n## Repository Structure  \n\nThe Questions are organized into folders, each focusing on specific SQL topics and concepts. Future Questions will follow the same structure and will be added incrementally.  \n\n### Folder Structure  \n\n```\nSQL-Top-Interview-Questions/  \n    ├── SubQuery.sql    \n    └── (Future Questions will be added in separate file_names)  \n```  \n\n### Example Questions  \n\n#### Sub_Query_Questions  \n\n```\n/*\nDISPLAY ALL THE EMPLOYEES WHOSE DEPARTMENT NAMES ENDING 'S'.\n*/\n\nSELECT *\nFROM EMP\nWHERE DEPTNO IN (SELECT DEPTNO\n                        FROM DEPT\n                            WHERE DNAME LIKE '%S');\n\n```\n\n\n---\n\n## Topics Covered in Questions  \n\n1️⃣ **Subqueries**  \n   - Nested Queries, Single-row, and Multi-row Subqueries.  \n\n.\n.\n.\n.\n.\nFuture Questions will be added in same ways....\n\n---\n\n## How to Use  \n\n1. Clone the repository:  \n   ```bash  \n   git clone https://github.com/AnkushRajMaheYam/SQL-Top-Interview-Questions.git  \n   ```  \n\n2. Execute the `.sql` file in your preferred database environment (e.g., MySQL, Oracle, or SQL Server).  \n\n---\n\n## LinkedIn Post  \n\nCheck out the full pdf that inspired these questions:  \n![Preview of SQL Sub-Query Questions pdf](Sub_Query_Questions.png)\n👉 [SQL-Top-Interview-Questions by Ankush Raj Mahe Yam](https://www.linkedin.com/posts/ankushrajmaheyam_mastering-sql-subqueries-115-questions-activity-7253720042729558016-Olmw?utm_source=share\u0026utm_medium=member_desktop)  \n\n\n---\n\n## About Me  \n\nHi, I’m **Ankush Raj or Ankush Raj Mahe Yam (ARMY)**, an aspiring software developer currently pursuing Java Full Stack Development. I’m passionate about coding and enjoy sharing my learning journey to help others grow.  \n\n🌟 Connect with me:  \n- **Google Search:** [Ankush Raj Mahe Yam](https://www.google.com/search?q=ankush+raj+mahe+yam)  \n- **LinkedIn:** [Ankush Raj](https://linkedin.com/in/ankushrajmaheyam)  \n- **GitHub:** [Ankush Raj](https://github.com/AnkushRajMaheYam)  \n- **Leetcode:** [Ankush Raj](https://leetcode.com/u/AnkushRajMaheYam/)\n- **Instagram:** [@AnkushRajaMaheYam](https://instagram.com/AnkushRajaMaheYam)  \n- **Facebook:** [Ankush Raj](https://facebook.com/AnkushRajMaheYam)  \n- **Fiverr:** [@AnkushRajMaheYa](https://www.fiverr.com/ankushrajmaheya)  \n- **Upwork:** [Ankush Raj](https://www.upwork.com/freelancers/~01bf6d1e8483199ba6)  \n\n\n---\n\n## Disclaimer  \n\nThey are intended **purely for educational purposes**.  \n\n---\n\n**License:**  \nThis repository is licensed under the MIT License.  \n\n---  \n\n## **Acknowledgements**\nSpecial thanks to the mentor(**Akash Sir**) and faculty at **J-Spider Software Training Institute (Noida Branch)** for providing excellent guidance and support throughout the course.\n\nFeel free to explore, practice, and enhance your SQL skills! 😊  \nHappy practicing SQL! 🎉  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankushrajmaheyam%2Fsql-top-interview-questions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fankushrajmaheyam%2Fsql-top-interview-questions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankushrajmaheyam%2Fsql-top-interview-questions/lists"}