S&P Global Interview Question

Joins in SQL database