This article introduces how MySQL 8.0 optimizer turns a simple string into an execution sequence the database executor can return the data to the client.