Ayushi kumari’s Post

🚀 Day 45 | LeetCode Learning Journal Today I solved LeetCode 182 – Duplicate Emails using SQL aggregation. This problem helped me understand how to identify repeated data in a table efficiently! 🔑 Key Points: • Used a single Person table • Applied GROUP BY to group emails • Used COUNT() to count occurrences • Filtered duplicate emails using HAVING COUNT(*) > 1 🌱 What I Learned: • How to find duplicate records in SQL • Difference between WHERE and HAVING • Importance of aggregation functions • Writing clean and optimized SQL queries #LeetCode #100DaysOfCode #DSA #SQL #CodingJourney #Day45 🚀

  • No alternative text description for this image

To view or add a comment, sign in

Explore content categories