Verisk interview question

SQL question to join 2 tables.