+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_course_apply:/tablelist/okayapi_course_apply.html


-- MySQL Table okayapi_course_apply
-- From: OkayAPI.com
CREATE TABLE `okayapi_course_apply` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `contact_phone` varchar(20) NOT NULL COMMENT '授课教师电话',
    `teacher_name` varchar(20) NOT NULL COMMENT '预约教师名字',
    `appointed_phone` varchar(255) NOT NULL COMMENT '预约人电话',
    `appointed_time` datetime NOT NULL COMMENT '预约时间',
    `address` varchar(200) NOT NULL COMMENT '预约地址',
    `lesson_type` varchar(50) NOT NULL COMMENT '授课级别',
    `order_number` varchar(20) NOT NULL COMMENT '预约编号',
    `course_status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '课程状态(0待确认 1已预约 3已完成 4已过期)',
    `appointed_sex` varchar(10) NOT NULL COMMENT '性别',
    KEY `contact_phone` (`contact_phone`),
    KEY `teacher_name` (`teacher_name`),
    KEY `appointed_phone` (`appointed_phone`),
    KEY `appointed_time` (`appointed_time`),
    KEY `address` (`address`),
    KEY `lesson_type` (`lesson_type`),
    KEY `order_number` (`order_number`),
    KEY `course_status` (`course_status`),
    KEY `appointed_sex` (`appointed_sex`),
    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-9 of 9 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
contact_phonevarchar(20)授课教师电话
teacher_namevarchar(20)预约教师名字
appointed_phonevarchar(255)预约人电话
appointed_timedatetime预约时间
addressvarchar(200)预约地址
lesson_typevarchar(50)授课级别
order_numbervarchar(20)预约编号
course_statustinyint(4)0课程状态(0待确认 1已预约 3已完成 4已过期)0
appointed_sexvarchar(10)性别

Guess You Like

MySQL Table Design okayapi_studyabc_articles

MySQL Table Design okayapi_studyabc_articles_content

MySQL Table Design okayapi_studyabc_cet

MySQL Table Design okayapi_studyabc_cetdesc

MySQL Table Design okayapi_studyabc_tinyenglish

MySQL Table Design okayapi_eduwind_AuthAssignment

MySQL Table Design okayapi_eduwind_AuthItem

MySQL Table Design okayapi_eduwind_AuthItemChild

MySQL Table Design okayapi_eduwind_Rights

MySQL Table Design okayapi_eduwind_YiiSession

MySQL Table Design okayapi_eduwind_ew_announcement

MySQL Table Design okayapi_eduwind_ew_answer

MySQL Table Design okayapi_eduwind_ew_area

MySQL Table Design okayapi_eduwind_ew_article

MySQL Table Design okayapi_eduwind_ew_bottom_text

MySQL Table Design okayapi_eduwind_ew_carousel

MySQL Table Design okayapi_eduwind_ew_category

MySQL Table Design okayapi_eduwind_ew_chapter

MySQL Table Design okayapi_eduwind_ew_city

MySQL Table Design okayapi_eduwind_ew_cms_people

TOP ↑