Sector file // sql
SQLDECODED.
Joins, indexes & queries
82 Questions56.3k Views3.4k Upvotes
15 easy51 med16 hard
Medium
3 questionsFOR UPDATE vs FOR UPDATE NOWAIT vs FOR UPDATE SKIP LOCKED — which to use when?
System Design · 519 views · locking, skip-locked, nowait
Views:519Likes:43
UPSERT with INSERT … ON CONFLICT — how do you insert or update atomically without races?
DSA · 388 views · upsert, on-conflict, postgres
Views:388Likes:74
What is the difference between DELETE, TRUNCATE, and DROP?
DSA · 207 views · delete-truncate-drop
Views:207Likes:13
Hard
1 questionSeen a SQL question that is not here? Add it and help the next candidate.
Share a question