Sector file // sql
SQLDECODED.
Joins, indexes & queries
82 Questions56.3k Views3.4k Upvotes
15 easy51 med16 hard
Easy
3 questionsMedium
6 questionsWhy might EXISTS outperform a JOIN for existence checks?
DSA ยท 948 views ยท exists, performance
Views:948Likes:35
What is the difference between EXISTS and IN?
DSA ยท 762 views ยท exists-in
Views:762Likes:63
How do you update a table based on another table?
DSA ยท 718 views ยท update-join
Views:718Likes:8
What is an UPSERT?
DSA ยท 662 views ยท upsert
Views:662Likes:0
What is the difference between NOT IN and NOT EXISTS when NULLs are involved?
DSA ยท 585 views ยท null, anti-join
Views:585Likes:71
UPSERT with INSERT โฆ ON CONFLICT โ how do you insert or update atomically without races?
DSA ยท 388 views ยท upsert, on-conflict, postgres
Views:388Likes:74
Seen a SQL question that is not here? Add it and help the next candidate.
Share a question