サンプルデータベース(World)
ダウンロード
zipファイルを展開
- c:\temp\配下など
インストール
mysql> SOURCE c:\temp\world.sql
実行結果
Query OK, 1 row affected (0.00 sec) : mysql>
確認
mysql> SHOW DATABASES;
実行結果
+--------------------+ | Database | +--------------------+ | information_schema | | mysql | | performance_schema | | sys | | world | +--------------------+ 5 rows in set (0.00 sec)
データベースの選択
mysql> USE world;
実行結果
Database changed mysql>
テーブルの確認
mysql> SHOW TABLES;
実行結果
+-----------------+ | Tables_in_world | +-----------------+ | city | | country | | countrylanguage | +-----------------+ 3 rows in set (0.00 sec)