Sector file // sql
SQLDECODED.
Joins, indexes & queries
82 Questions56.6k Views3.4k Upvotes
15 easy51 med16 hard
Easy
4 questionsWhat is the difference between a primary key and a foreign key?
DSA ยท 1.2k views ยท primary-key, foreign-key
Views:1.2kLikes:7
What is the logical order of execution of a SQL query?
DSA ยท 1.1k views ยท order-of-execution
Views:1.1kLikes:70
What are the different types of SQL joins?
DSA ยท 1.0k views ยท sql, joins
Views:1.0kLikes:30
What is a CROSS JOIN and when is it useful?
DSA ยท 508 views ยท joins
Views:508Likes:73
Medium
10 questionsWhat is database normalization?
DSA ยท 1.2k views ยท normalization
Views:1.2kLikes:46
How do you read an EXPLAIN query plan?
DSA ยท 1.1k views ยท explain
Views:1.1kLikes:19
What is the difference between COUNT(*), COUNT(col), and COUNT(DISTINCT col)?
DSA ยท 971 views ยท count
Views:971Likes:68
Why 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
Does a filter in the ON clause behave differently from WHERE in a LEFT JOIN?
DSA ยท 740 views ยท joins, left-join
Views:740Likes:26
What is denormalization and when should you use it?
DSA ยท 531 views ยท design, denormalization
Views:531Likes:60
How do you paginate efficiently in SQL?
DSA ยท 344 views ยท pagination
Views:344Likes:43
Hard
1 questionSeen a SQL question that is not here? Add it and help the next candidate.
Share a question