Deloitte interview question

- when will you use sql & mongoDB