Skip to main content
← Knowledge Graph
Data SystemsNew

🧩 Query Languages (Declarative vs Imperative)

How we ask for data. Imperative tells the computer *how* to do it (loops); Declarative tells it *what* we want (SQL).

🎯 Mastery Criteria

Student can translate a simple imperative loop into a declarative SQL statement.

⚠️ Common Trap

SQL is old and therefore bad.