# Download script
wget https:
# MySQL----------------------------------------
# Start Client
mysql -u username -p -h hostname -P portnumber
# See available databases
SHOW DATABASES;
# Load script and connect
CREATE DATABASE mydatabase;
USE mydatabase;
source flights_RUSSIA_small.sql;
# See the tables in the connected database
SHOW TABLES;
# PostgreSQL------------------------------------
# Start Client
psql -h hostname -p portnumber
# See available databases
\l
# Load script
\i flights_RUSSIA_small.sql
# Connect to the loaded database
\c flights_RUSSIA_small
# See the tables in the connected database
\dt
# SQL Server-----------------------------------
# Start Client
sqlcmd -S hostname -U username -P password -d database_name
# See available databases
SELECT name FROM sys.databases;
# Connect and Load script
CREATE DATABASE mydatabase;
USE mydatabase;
:r flights_RUSSIA_small.sql
# See the tables in the connected database
SELECT name FROM sys.tables;