💡 Sharing my key takeaways from today’s study session:
1️⃣ SQL vs NoSQL
SQL → Structured data, fixed schema, relational tables.
NoSQL → Unstructured/semi-structured data, flexible schema, handles big & dynamic data.
Use SQL when data is consistent & relational, NoSQL when data is large, scalable & diverse.
2️⃣ SQL vs MySQL
SQL → Language (Structured Query Language) used to manage & query relational databases.
MySQL → A Database Management System (RDBMS) that implements SQL.
👉 In short: SQL = Language | MySQL = Software using that language.
3️⃣ DBMS vs RDBMS
DBMS → Database system (stores data, no strict relationships). Example: MS Access.
RDBMS → DBMS + relationships between tables (uses keys, constraints). Example: MySQL, Oracle.
👉 RDBMS is an advanced form of DBMS.
4️⃣ Stored Procedures vs Functions
Stored Procedure → Set of SQL statements stored in DB, can return multiple values, used for business logic.
Function → Must return a single value, mainly used for computations.
👉 Procedure = multi-purpose, Function = calculation focused.
✅ Excited to keep learning & sharing more database concepts.
Top comments (0)