This illustration depicts a parsed query (from the parser) entering the query transformer. The transformed query is then sent to the estimator. Statistics are retrieved from the dictionary, then the query and estimates are sent to the plan generator. The plan generator either returns the plan to the estimator or sends the query plan to the row source generator.