Bajaj Finance interview question

When to use SQL vs no SQL DB