NoSQL: Databases that don't use traditional tables with fixed columns. They store data as documents, key-value pairs, wide columns, or graphs instead. MongoDB, Redis, and Cassandra are common examples.
Example
An app stores user profiles in MongoDB. One user has two phone numbers and a list of skills; another has none. Each profile is a flexible JSON-like document, so no table change is needed for different fields.
Types of NoSQL Databases
| Type | Stores data as | Example |
|---|---|---|
| Document | JSON-like documents | MongoDB, Azure Cosmos DB |
| Key-value | Simple key and value pairs | Redis, DynamoDB |
| Wide-column | Rows with flexible columns at huge scale | Cassandra |
| Graph | Nodes and relationships | Neo4j |
SQL vs NoSQL
| SQL (relational) | NoSQL | |
|---|---|---|
| Structure | Fixed tables and columns | Flexible |
| Relationships | Strong, with joins | Usually handled in the app or by embedding |
| Good for | Transactions, payments, structured business data | Flexible data, caching, very large scale |
| Query language | SQL | Varies by database |
Which Should You Learn First?
Learn SQL and a relational database first; most internship roles expect it. Then try MongoDB or Redis in a project to understand the difference. In interviews, explaining why you chose one over the other for your project shows real understanding.
Related terms
- Database: the general term.
- SQL: the language of relational databases.
- JSON: the format document databases resemble.
- Scalability: a common reason to choose NoSQL.
Previous term: Non-Functional Requirement | Next term: Notice Period
Related guides
- SQL Interview Questions Test
- Which Technology Should I Learn for an IT Internship?
- Technical Interview Questions for Freshers
Frequently asked questions
What is NoSQL?
NoSQL refers to databases that store data in flexible formats such as documents or key-value pairs instead of fixed tables.
What is the difference between SQL and NoSQL?
SQL databases use fixed tables and strong relationships. NoSQL databases use flexible structures and often scale out more easily.
Is MongoDB a NoSQL database?
Yes. MongoDB is a popular document database that stores JSON-like documents.
Should I learn SQL or NoSQL first?
SQL first, because most roles expect it. Then learn a NoSQL database to understand the trade-offs.
Explore more internship terms
The IT Internship Glossary explains 199 terms you will hear before and during your internship, with simple definitions and real examples.
Browse all 199 terms