How Does the SQL Server Query Optimizer Work? | Hacker News