DB2 Join: An INNER JOIN finds and returns matching data from tables, while an outer join finds and returns matching data…