Nutmeg interview question

When would you use a relational database vs a nosql database?