Docs
Docs/SQL Fundamentals/What is SQL?

What is SQL?

Understanding SQL and relational databases

SQL (Structured Query Language) is the standard language for managing and manipulating relational databases. It's been around since the 1970s and remains the most important skill for working with data.

Why Learn SQL?

Universal Language

Works with PostgreSQL, MySQL, SQLite, SQL Server, and more

High Demand

Essential for developers, analysts, and data scientists

Declarative

Tell the database what you want, not how to get it

Powerful

Complex data transformations in a few lines

Relational Database Basics

Data is organized into tables (like spreadsheets) with rows (records) and columns (fields).

Example: users table

idnameemailcreated_at
1Alice Smithalice@email.com2024-01-15
2Bob Johnsonbob@email.com2024-02-20
3Carol Whitecarol@email.com2024-03-10

SQL Command Categories

CategoryCommandsPurpose
DQLSELECTQuery data
DMLINSERT, UPDATE, DELETEModify data
DDLCREATE, ALTER, DROPDefine structure
DCLGRANT, REVOKEControl access

Getting Started: This tutorial focuses on SELECT (reading data) as it's the most commonly used. You'll use it 90% of the time!

Need help?

Join our Discord community for support and discussions.

Join Discord