1/3
Trying not to kill myself pt. 3
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
What are the steps of SQL Query Execution?
parsing (checking syntax, checks if it exists)
Translation to internal form (converts to relational algebra)
Optimisation ( chooses best execution plan)
Execution (retrieve results)
what does σ and π define in [ π_name (σ_age > 20 (Students) ] ?
σ (Selection) → filter rows
π (Projection) → select matching columns
What are the common types of Transformations in Relational Algebra?
Select Pushdown (moves filtering operations as early as possible)
projection pushdown( sum early)
Join reordering (The optimizer may change the order of joins)
Most expensive query?
Join queries: Nested loop joins, merge joins, hash join