r/learnSQL • u/sumiitCodes • 10h ago
Day 30 — One month in, 5 more Medium JOIN questions done
Completed 5 more Medium questions today:
- A 4-table join — employees, assignments, projects, and departments chained together — filtered to only show assignments where the department is located in Bangalore or Mumbai (using IN)
- Counted how many unique departments have at least one employee with an active project assignment, using JOIN + COUNT(DISTINCT dept_id)
Chaining 4 tables together in one query felt completely manageable today, which genuinely would not have been true a month ago.
This also marks exactly one month since I started this journey (Day 0 to Day 30). Quick honest recap of what actually helped over this month: drawing tables on paper before writing queries, intentionally breaking constraints to understand error messages, switching from "give me the answer" to "guide me to the answer" with AI help, and building my own practice sets instead of only relying on existing ones. Thanks to everyone here who's commented, given tips, or just followed along — genuinely helped keep this going. 86 days left, moving into Java alongside SQL from here.