MySQL 8.0 数据类型

datetime -- timestamp 只到 2038年,而它到 9999 年,他俩都能存秒后的小数 bit(1) default b'0' -- 比特值 bit(M),默认值为b'0' tinyint -- 一个字节八位,到127

MySQL 8.0 语法结构

可使用 单引号 或 双引号 包裹。 Examples: 'a string' "another string" 连续的引号包裹的字符串,将被合并为一个。 Escape Sequence Character Represented by Sequence \0 An ASCII NUL (X'00') character \' A single quote (') character \" A double quote (") character \b A backspace character \n A newline (linefeed)