Deloitte interview question

6) write sql query to join two tables