下載Mysql

https://dev.mysql.com/downloads/installer/

安裝Mysql

C:\Program Files (x86)\MySQL\Samples and Examples 8.0\Sample Databases\World

http://tsuozoe.pixnet.net/blog/post/21283890-mysql-%E5%9F%BA%E6%9C%AC%E6%93%8D%E4%BD%9C%E8%AA%9E%E6%B3%95

Show BATABASES;

use world;

world是mysql內建的範例資料庫
總共有三個資料表(Tables):
[1]City資料表
[2]Country資料表
[3]CountryLanguage資料表

show tables;

DESCRIBE  city;

Select * 
from City;


DESCRIBE Country;

Select * 
from Country;

DESCRIBE  CountryLanguage;

Select * 
from CountryLanguage;

Mysql教科書

MySQL新手入門超級手冊-第二版(適用MySQL 8.x與MariaDB 10.x)
作者: 張益裕  出版社:碁峰   出版日期:2018/07/11

http://www.codedata.com.tw/database/mysql-tutorial-getting-started

第1章 資料庫概論與 MySQL
第2章 基礎查詢
第3章 運算式與函式
第4章 結合與合併查詢
第5章 資料維護
第6章 字元集與資料庫
第7章 儲存引擎與資料型態
第8章 表格
第9章 索引
第10章 子查詢
第11章 Views

第12章 Prepared Statements
第13章 Stored Routines 入門
第14章 Stored Routines 的變數與流程
第15章 Stored Routines 進階
第16章 Triggers

第17章 資料庫資訊
第18章 錯誤處理與查詢
第19章 匯入與匯出資料
第20章 效率
附錄 A MariaDB