Nested Loop join, Hash Join and Merge Join SQL server has three types of internal joins. Although there are different kinds of logical joins at the query level, SQL Server implement these all with three different physical join operators based on the scenarios. They are: Nested Loop join Hash Join Merge Join 1. Nested Loop Join The optimizer may choose the Nested Loops join when one of the joining tables is small, considered as the outer table and the other one is large, considered as the inner table which is indexed on the column that is in the join.One of the joining table is taken as the outer table and the other one as the inner table. For each row of the outer table, all the rows from the inner table are matched one by one. It cycles through the outer table, then search for matches in the inner table. The optimizer considers three variants for a Nested Loops join: Naive nested loops join when the search scans the whole tab...