SQL is a declarative language for defining, querying, and modifying relational data.
supportedLearn this concept
Turn the idea into understanding.
Knowledge map
See where this idea fits.
Before this
Prerequisites
After this
Builds toward
Evidence first
Verified knowledge behind the lesson.
01
02
A SQL engine parses a statement, resolves names and types, rewrites where needed, builds candidate plans, estimates costs using statistics, executes the selected plan, and returns or modifies rows under transaction rules.
supported03
EXPLAIN output shows chosen plans, while indexes and statistics can change those plans without changing query meaning.