官术网_书友最值得收藏!

Understanding the database structure

If you don't have MySQL installed, head over to the MySQL link (https://dev.mysql.com/downloads/installer) to install it and populate it with the world database, if it is not already available. The appendix will also guide you on how to run the queries using MySQL Workbench and MySQL command-line tool. 

The world database schema is depicted in the following diagram:

The database schema is simple, containing three tables as follows:

  • city: List of cities mapped to the three character country coded in the country table.
  • country: List of countries where the primary key is the three character country code. There is a column that has the ISO country code.
  • countrylanguage: List of languages mapped to the country with one of the languages of the country marked as official.
主站蜘蛛池模板: 河北区| 平顺县| 淮阳县| 新绛县| 新丰县| 万盛区| 同德县| 肇州县| 双流县| 拉萨市| 邯郸市| 吉林市| 铁岭县| 阿坝| 达日县| 阿坝| 永年县| 桃园县| 蒙城县| 当阳市| 新干县| 闽清县| 九台市| 韩城市| 榕江县| 五华县| 武城县| 金阳县| 获嘉县| 山阴县| 隆德县| 陇川县| 西乌珠穆沁旗| 明水县| 隆化县| 亚东县| 遂川县| 布拖县| 灵丘县| 泰顺县| 衡阳市|