Table of Contents
The following SQL statement creates a database called "pttc_testDB":
CREATE DATABASE pttc_testDB;
Tip: Make sure you have admin privilege before creating any database. Once a database is created, you can check it in the list of databases with the following SQL command: SHOW DATABASES
;
SHOW DATABASES;
The DROP DATABASE statement is used to drop an existing SQL database.
The following SQL statement drops the existing database "pttc_testDB":
DROP DATABASE pttc_testDB;
Document in project
You can Download PDF file.