Deloitte interview question

SQL query to merge 5 tables