PrepZone Logo
PrepZone
Back to Database

Database · Easy

SQL vs NoSQL: what are the differences and how do you choose between them?

DatabaseFundamentalsFresherNoSQL

Answer preview

SQL databases store strongly typed rows in a fixed schema, join them with foreign keys, and guarantee ACID transactions; NoSQL databases relax the schema and the join in exchange for horizontal scale and flexible document, key-value, column, or graph models. The choice is driven …