S&P Global interview question

Joins in SQL database