Chapter 2 covers query processing and optimization, detailing the steps involved in processing a query from decomposition (parsing and translation) to optimization and evaluation. It explains how SQL queries are translated into relational algebra and the importance of heuristic rules in optimizing query execution strategies based on cost estimates. Additionally, it outlines the costs associated with different components of query execution, such as access costs, computation costs, and communication costs.