Deloitte interview question

Design patters dependency injection sql