+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_smpss_region:/tablelist/okayapi_smpss_region.html


-- MySQL Table okayapi_smpss_region
-- From: OkayAPI.com
CREATE TABLE `okayapi_smpss_region` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `region_id` int(10) NOT NULL COMMENT '',
    `parent_id` smallint(5) NOT NULL DEFAULT '0' COMMENT '',
    `region_name` varchar(120) NOT NULL COMMENT '',
    `region_ename` varchar(32) NOT NULL COMMENT '地区英文名',
    `level` tinyint(1) NOT NULL COMMENT '地区级别',
    KEY `region_id` (`region_id`),
    KEY `parent_id` (`parent_id`),
    KEY `region_name` (`region_name`),
    KEY `region_ename` (`region_ename`),
    KEY `level` (`level`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '进销存-地区表';

After replication, you can go to the database to create the database table.


MySQL database table structure design

Displaying 1-5 of 5 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
region_idint(10)
parent_idsmallint(5)0Normal Index0
region_namevarchar(120)Normal Index
region_enamevarchar(32)地区英文名
leveltinyint(1)地区级别

Guess You Like

MySQL Table Design okayapi_smpss_admin

MySQL Table Design okayapi_smpss_category

MySQL Table Design okayapi_smpss_goods

MySQL Table Design okayapi_smpss_group

MySQL Table Design okayapi_smpss_log

MySQL Table Design okayapi_smpss_mbgroup

MySQL Table Design okayapi_smpss_member

MySQL Table Design okayapi_smpss_purchase

MySQL Table Design okayapi_smpss_sales

MySQL Table Design okayapi_smpss_system

MySQL Table Design okayapi_smpss_tempsales

MySQL Table Design okayapi_dberp_accounts_receivable

MySQL Table Design okayapi_dberp_accounts_receivable_log

MySQL Table Design okayapi_dberp_admin

MySQL Table Design okayapi_dberp_admin_group

MySQL Table Design okayapi_dberp_app

MySQL Table Design okayapi_dberp_brand

MySQL Table Design okayapi_dberp_customer

MySQL Table Design okayapi_dberp_customer_category

MySQL Table Design okayapi_dberp_finance_payable

TOP ↑