The sequence of three statements is as follows:
First, we created a database named temp_database using the CREATE DATABASE statement.
Second, we displayed all databases using the SHOW DATABASES statement.
Third, we removed the temp_database using the DROP DATABASE statement.
In this tutorial, you’ve learned various statements to manage databases in MySQL including creating a new database, removing an existing database, selecting a database to work with, and displaying all databases in a MySQL database server.