HCA Healthcare interview question

Write a sql query for joining two tables