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

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.
主站蜘蛛池模板: 壤塘县| 甘泉县| 志丹县| 松江区| 吉林市| 武威市| 罗甸县| 宾阳县| 淄博市| 淮北市| 津南区| 子长县| 电白县| 板桥市| 攀枝花市| 鲁山县| 洞头县| 永登县| 屯昌县| 东源县| 九江市| 高台县| 延长县| 青龙| 临猗县| 永定县| 广州市| 共和县| 平和县| 日照市| 阿拉善右旗| 准格尔旗| 阳东县| 新丰县| 叙永县| 凤山市| 略阳县| 岑溪市| 新化县| 登封市| 十堰市|