Declarative Nature of SQL
Concept Check Medium
Question
What does it mean that SQL is 'declarative'?
Hint
Contrast 'what' vs 'how'.
Explanation
SQL is declarative — you specify what data you want (the result), and the database engine determines how to retrieve it efficiently (the execution plan). You do not write loops or step-by-step algorithms.
Related Resources
Related Lessons
- SQL Basics
Learn SQL's nature.
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.