Gain Solutions interview question

What is the different use case of SQL and NoSQL?