Strengthening SQL Fundamentals with Subqueries and LeetCode Practice

🚀 Day 29 & 30 – SQL Learning Journey Over the past two days, I focused on strengthening my SQL fundamentals and applying them to real-world problem-solving scenarios. 🔍 Day 29: Subqueries Based on Location Explored how subqueries behave depending on where they are used: 📌 WHERE Clause → Dynamic filtering and comparisons 📌 FROM Clause → Acts as a derived table for simplifying complex queries 📌 SELECT Clause → Returns scalar values for each row 📌 HAVING Clause → Filters aggregated results after GROUP BY 💡 Key Insight: Choosing the right placement of subqueries can significantly improve query clarity and efficiency. 🔍 Day 30: LeetCode SQL Practice Worked on real-world SQL problems (1978, 185, 602, 1341) to strengthen practical skills. 📌 What I improved: ✔ Window Functions (DENSE_RANK, ROW_NUMBER) for ranking ✔ Joins to combine and analyze data across tables ✔ Aggregations (COUNT, AVG, GROUP BY) for summarization ✔ Subqueries & filtering logic for better problem-solving 🔥 Consistency and practice are helping me build confidence in SQL and data analytics step by step. #SQL #DataAnalytics #LeetCode #LearningJourney #100DaysOfCode #DataAnalyst

  • graphical user interface, text, application, chat or text message

To view or add a comment, sign in

Explore content categories