SHOW DATABASES;
View all databases in the server
CREATE DATABASE database_name;
Create a new database
USE database_name;
Switch to a specific database
DROP DATABASE database_name;
Delete a database
SHOW TABLES;
View all tables in the current database
CREATE TABLE table_name (
column1 datatype,
column2 datatype,
column3 datatype,
...
);
Common SQL datatypes include:
Numeric Types: