SQL CommandsDDL CommandsDatabaseCREATE DATABASEOn this pageCREATE DATABASEIntroduced or updated: v1.2.339 Create a database. Syntax CREATE [ OR REPLACE ] DATABASE [ IF NOT EXISTS ] <database_name> Examples The following example creates a database named test: CREATE DATABASE test;