document databases

When should I choose SQL over NoSQL?

I'm learning about databases and the capabilities seem to overlap a lot. How do data structure, queries, and transactions help decide between SQL and NoSQL?For example, if I'm…