How to Think Like the SQL Server Engine, Part 3: Statistics and Memory Grants