18 real Join Algorithms questions from the SQL bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.
1. What is Nested loop join?
Mid
A.an algorithm that scans the outer input and, for each row, probes the inner input, ideal when one side is small or indexed
B.a distributed strategy that copies a small table to every node so each can join its local partition without reshuffling
C.an algorithm that builds an in-memory hash table on one input and probes it with the other, favored for large unsorted equality joins
D.the sequence in which the optimizer combines tables, chosen to keep intermediate result sizes as small as possible
5. Which term means: "an algorithm that builds an in-memory hash table on one input and probes it with the other, favored for large unsorted equality joins"?
A.Broadcast join — an algorithm that consumes two inputs already sorted on the key and advances through them in lockstep to match rows
B.Broadcast join — an algorithm that builds an in-memory hash table on one input and probes it with the other, favored for large unsorted equality joins
C.Broadcast join — a distributed strategy that copies a small table to every node so each can join its local partition without reshuffling
D.Broadcast join — a distributed strategy that repartitions both inputs on the join key across nodes so matching rows land together
A.Partitioned join — a distributed strategy that copies a small table to every node so each can join its local partition without reshuffling
B.Partitioned join — an algorithm that consumes two inputs already sorted on the key and advances through them in lockstep to match rows
C.Partitioned join — an algorithm that builds an in-memory hash table on one input and probes it with the other, favored for large unsorted equality joins
D.Partitioned join — a distributed strategy that repartitions both inputs on the join key across nodes so matching rows land together
Answers, AI explanations, and a scored voice mock interview
Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.