Assume table1 has the columns named col1, col2 and col3. Also, assume that table2 has columns named col4 and col5 and that the linking column between…

Assume