sql-notebook
A repository with all the code and notes that I used to practice SQL
Prerequisite:
SQL - Developer's Notebook
- Create a sample "Northwind" database in MySQL following https://dev.mysql.com/doc/employee/en/
Docker Container
MySQL on Docker:
$ docker pull mysql
$ docker run -d --name mysql_java -p 3306:3306 -v /Users/mysql:/var/lib/mysql -e 'MYSQL_ROOT_NAME=root' -e 'MYSQL_ROOT_PASSWORD=tiger' mysql
$ docker exec -it mysql_java bash
$ mysql -uroot -p