NoSQL databases are sometimes referred to as non-relational databases because their structures are different from relational databases. Instead of row and column relationships, NoSQL databases build a structure for the data that they contain using key-value pairs instead.
Each key has one or more associated attributes or values. But not every item has to have the same attributes, and you can add or remove attributes at any time.
The ff. table shows an example of how key-value paired data is stored in NoSQL databases.
| Key | Value |
|---|---|
| 1 | Name: John Doe Address: 123 Any Street Favorite drink: Medium latte |
| 2 | Name: Mary Major Address: 100 Main Street Birthday: July 5, 1994 |