Pooja Mallelor’s Post

🚀 Day 51 of My SQL Learning Journey Today I solved a SQL problem involving joins and conditional filtering 🔥 🔹 Problem: Find employees whose bonus is less than 1000 or who didn’t receive any bonus 🔗 Problem Link: https://lnkd.in/gF6_J-Vr 🔹 Solution: SELECT e.name, b.bonus FROM Employee e LEFT JOIN Bonus b ON e.empId = b.empId WHERE b.bonus < 1000 OR b.bonus IS NULL; 🔹 Key Learning: Using LEFT JOIN to include unmatched records Handling NULL values properly Applying conditions with multiple filters 💡 Understanding joins is essential for solving real-world database problems! Consistency continues 🚀 #SQL #LeetCode #90DaysOfCode #CodingJourney #ProblemSolving

  • graphical user interface, text, application, email

To view or add a comment, sign in

Explore content categories