SQL Purpose
Question
What is SQL used for?
Hint
SQL is the standard language for relational databases.
Explanation
SQL (Structured Query Language) is the standard language for managing and querying relational databases. It includes DQL (SELECT), DML (INSERT, UPDATE, DELETE), DDL (CREATE, ALTER, DROP), DCL (GRANT, REVOKE), and TCL (COMMIT, ROLLBACK). SQL is declarative — you describe what data you want, not how to get it. The database engine optimizes the execution plan. SQL was developed at IBM in the 1970s.
Related Resources
Related Lessons
- DB Overview
Learn DB basics.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.