Lecture 6: Query Optimization