| SQL | NoSQL |
|---|---|
| relational | non-relational |
| structured query language and have a predefined schema | have dynamic schemas for unstructured data |
| vertically scalable | horizontally scalable |
| table based | document, key-value, graph or wide-column stores |
| better for multi-row transactions | better for unstructured data like documents or JSON |

