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