Deloitte interview question

SQL view table