Inside the Query Optimizer: How Databases choose and Evaluate Query Plans
You write a query. The database runs it. You get your result. Simple, right? Not quite. Before your query ever runs, the database is already making decisions behind the scenes. It evaluates different





