📘
Module 12: SQL Introduction
🔹
Introduction to SQL
SQL Structured Query Language) is used to manage and manipulate relational databases.
It helps users store, retrieve, and analyze data using simple commands.
❓
Why Not Excel? Why SQL?
Feature Excel SQL
Data Volume Limited rows 1M max) Handles millions of records
Multi-user Difficult Designed for multiple users
Security Basic password protection Robust access control
Automation Manual Highly scriptable and programmable
Use Excel for small, personal datasets.
Use SQL for large, structured, scalable databases.
🗂
What is a Relational Database?
A Relational Database stores data in tables (rows & columns).
Tables are related using keys Primary Key, Foreign Key).
Example:
Students StudentID, Name, Age)
Marks StudentID, Subject, Score)
StudentID links both tables.
🎯
What You'll Learn Ahead
✅
SQL & DB Basics
Writing SQL queries
Creating/modifying database tables