Category: SQL

0

Chapter 1: Introduction to SQL

1. Introduction to SQL Alright, class! Imagine we’re in a cozy classroom in Mumbai on this fine Republic Day afternoon in 2026—maybe with some chai and biscuits on the side. I’m your friendly neighborhood...

0

Chapter 2: SQL Syntax Basics

SQL Syntax Basics Alright, class! Welcome to Chapter 2 — the place where we stop talking about SQL and actually start speaking it. Think of this as learning the grammar and pronunciation of a...

0

Chapter 3: Database Creation and Management

Think of a database as a big folder (or a filing cabinet) that contains many tables (like spreadsheets inside that folder). One server/computer can hold hundreds or thousands of these databases — each one...

0

Chapter 4: Creating and Managing Tables

Up until now, we’ve created databases (like empty filing cabinets). Now we’re going to fill them with actual tables — the spreadsheets inside the cabinet where all your data lives. Today we’re going to...

0

Chapter 5:Data Types

Choosing the right data type for each column is like choosing the right size of box when packing things for a move: Too small → your data gets cut off or you get errors...

0

Chapter 6: Constraints

Constraints are the rules you place on your columns to make sure the data inside your tables is correct, consistent, and meaningful. Think of them as the “guardrails” that prevent bad data from entering...

0

Chapter 7: Inserting Data (DML)

Up until now, we’ve been architects: designing databases, creating tables, choosing perfect data types, and adding strong constraints. Now it’s time to become data entry specialists (but the smart, efficient kind 😄). In SQL,...

0

Chapter 9: Filtering and Operators

Now we’re going deep into the WHERE clause — the part that lets you filter exactly which rows you want to see. Everything we do here is about writing conditions that the database checks...

0

Chapter 10: Aggregate Functions

Up until now, we’ve been looking at individual rows — one book, one author, one order at a time. Now we’re going to summarize huge amounts of data: How many books do we have...