The nested loops join, also called nested iteration, uses one join input as the outer input table(shown as the top input in the graphical execution plan) and one as the inner (bottom) input table.The outer loop consumes the outer input table row by r…