An open API service indexing awesome lists of open source software.

https://github.com/rachit1084/sql-practice-ankit-bansal

Personal SQL problem-solving practice based on Ankit Bansal's YouTube series, with logic-driven solutions for analyst prep.
https://github.com/rachit1084/sql-practice-ankit-bansal

analytics data-analysis data-analyst interview-preparation logical-reasoning postgresql sql sql-practice

Last synced: 6 months ago
JSON representation

Personal SQL problem-solving practice based on Ankit Bansal's YouTube series, with logic-driven solutions for analyst prep.

Awesome Lists containing this project

README

          

# SQl-Practice-Ankit-Bansal
# πŸ“˜ SQL Practice – Ankit Bansal YouTube Series

This repository contains my personal SQL practice based on Ankit Bansal's YouTube SQL problem series.
Instead of copying answers, I tried to **frame my own logic** to enhance my problem-solving and analytical thinking.

## πŸ” My Approach

While the questions are based on playlist, I made it a rule to:
- First solve each query **on my own** before watching the video.
- In case of differing logic, trying to understand the flaws or creating sample datasets using AI where my logic fails.
- Document any logic that differs from the original or adds something unique.

This helped me understand flow of logic & concept & develop deeper confidence in SQL logic β€” not just memorizing syntax.

## πŸ“ Repo Structure
- `Q1_to_Q83/` : Folder containing `.sql` files for each question.
- `README.md` : This file, explaining purpose and approach.

## πŸ”§ Tools Used:
- PostgreSQL
- ChatGPT, Deepseek (AI support for sample generation & validation)
- Data from description in youtube videos

## 🧠 Topics Practiced:
- Window functions (RANK, LAG, LEAD)
- Aggregates & GROUP BY
- Subqueries & CTEs
- Joins (INNER, LEFT, SELF)

## πŸ”— Credit:
Based on [Ankit Bansal’s SQL Interview Playlist] (https://youtu.be/qyAgWL066Vo?si=JVrWMEkksgWUyO6B)

---