最近几年来,地理信息系统无论是在理论上还是应用上都处在一个飞速发展的阶段。 GIS被应用于多个领域的建模和决策支持,如城市管理、区划、环境整治等等,地理信息成为信息时代重要的组成部分之一; “数字地球”概念的提出,更进一步推动了作为其技术支撑的GIS的发展。 与此同时,一些学者致力于相关的理论研究,如空间感知、空间数据误差、空间关系的形式化等等。 这恰好说明了地理信息系统作为应用技术和学科的两个方面,并且这两个方面构成了相互促进的发展过程。
The following information is required to create an MySQL data table:
Table name
Table field name
Define each table field
Grammar ¶
The following is the general SQL syntax for creating MySQL data tables:
CREATE TABLE table_name (column_name column_type); In the following example, we will create the data table runoob_tbl in the RUNOOB database:
CREATE TABLE IF NOT EXISTS `runoob_tbl`( `runoob_id` INT UNSIGNED AUTO_INCREMENT, `runoob_title` VARCHAR(100) NOT NULL, `runoob_author` VARCHAR(40) NOT NULL, `submission_date` DATE, PRIMARY KEY ( `runoob_id` ) )ENGINE=InnoDB DEFAULT CHARSET=utf8; Instance resolution:
If you don’t want the field to be NULL You can set the property of the field to NOT NULL When manipulating the database, if the data entered in this field is NULL , you will report an error.
AUTO_INCREMENT定义列为自增的属性,一般用于主键,数值会自动加1。
The PRIMARY KEY keyword is used to define the column primary key. You can use multiple columns to define the primary key, separated by commas.
ENGINE sets the storage engine and CHARSET sets the encoding.