Rakuten Interview Question

How do you decide between SQL and NoSql