Types of Database
Q1. What are the two main types of database ?
Relational (SQL-based) and Non-Relational (NoSQL-based) databases.
Q2. What is a relational database ?
A database that stores data in tables and uses relationships between tables.
Q3. What is NoSQL ?
NoSQL databases store data in flexible formats like documents, key-value pairs, or graphs.
Q4. Difference between SQL and NoSQL ?
SQL uses fixed schema and tables; NoSQL uses flexible schema and non-tabular structures.