当前位置:网站首页>[MySQL] database knowledge record
[MySQL] database knowledge record
2022-07-05 07:30:00 【MatchaApril】
data type
see :https://www.runoob.com/mysql/mysql-data-types.html
Create a table of sql sentence
create table option_table
(
id bigint auto_increment comment 'id',
q_id bigint not null comment ' Subject id',
option_des VARCHAR(5000) not null comment ' Option to describe ( The radio 、 multi-select 、 Judge -> Option to describe ; Fill in the blanks 、 Calculation -> answer )',
is_true tinyint comment ' Is this option correct ( The radio 、 multi-select 、 Judge ->0/1; Fill in the blanks 、 Calculation -> empty )',
order tinyint comment ' The order of the options (1、2、3、4、5...)',
create_time datetime not null default current_timestamp comment ' Creation time ',
update_time datetime not null default current_timestamp on update current_timestamp comment ' Update time ',
create_user VARCHAR(100) not null comment ' founder ',
update_user VARCHAR(100) not null comment ' Updated by ',
is_delete tinyint not null default 0 comment ' Is it deleted 0: Not delete ;1: Be deleted ',
constraint option_table_pk
primary key (id)
) comment ' List of options ';
边栏推荐
猜你喜欢
Explanation of parallel search set theory and code implementation
HDU1232 畅通工程(并查集)
QT small case "addition calculator"
Tshydro tool
Miracast技术详解(一):Wi-Fi Display
Concurrent programming - deadlock troubleshooting and handling
What if the DataGrid cannot see the table after connecting to the database
大学生活的自我总结-大一
Self summary of college life - freshman
[software testing] 04 -- software testing and software development
随机推荐
Matrix keyboard scan (keil5)
Simple operation with independent keys (hey, a little fancy) (keil5)
list. files: List the Files in a Directory/Folder
arcpy. SpatialJoin_ Analysis spatial connection analysis
Anaconda pyhton multi version switching
Three body goal management notes
Word import literature -mendeley
611. Number of effective triangles
Import CV2 prompt importerror: libgl so. 1: Cannot open shared object file: no such file or directory
HDU1231 最大连续子序列(分治or动规or双指针)
Rough notes of C language (2) -- constants
[software testing] 05 -- principles of software testing
Altimeter data knowledge point 2
Eclipse project recompile, clear cache
并查集理论讲解和代码实现
How can Oracle SQL statements modify fields that are not allowed to be null to allow nulls?
公安专业知识--哔哩桐老师
SOC_ SD_ DATA_ FSM
Mathematical analysis_ Notes_ Chapter 8: multiple integral
What is sodium hydroxide?