Thursday, February 6, 2020

Create Database

Creating Databases Code

Start the CLI:
mysql-ctl cli; 
List available databases:
show databases; 
The general command for creating a database:
CREATE DATABASE database_name; 

A specific example:
CREATE DATABASE soap_store; 

No comments:

Post a Comment

Right Joins

-- OUR FIRST RIGHT JOIN (seems the same as a left join?) SELECT * FROM customers RIGHT JOIN orders     ON customers.id = orders.custom...