“使用PreparedStatement实现通用的增删改操作”的版本间的差异
跳到导航
跳到搜索
Jihongchang(讨论 | 贡献) (建立内容为“https://www.bilibili.com/video/BV1eJ411c7rf?p=16”的新页面) |
Jihongchang(讨论 | 贡献) |
||
第1行: | 第1行: | ||
− | https://www.bilibili.com/video/BV1eJ411c7rf?p=16 | + | https://www.bilibili.com/video/BV1eJ411c7rf?p=16<syntaxhighlight lang="sql"> |
+ | CREATE TABLE `order` ( | ||
+ | `order_id` int(11) NOT NULL AUTO_INCREMENT, | ||
+ | `order_name` varchar(45) DEFAULT NULL, | ||
+ | `order_date` date DEFAULT NULL, | ||
+ | PRIMARY KEY (`order_id`) | ||
+ | ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4; | ||
+ | |||
+ | </syntaxhighlight> |
2022年12月16日 (五) 14:02的版本
https://www.bilibili.com/video/BV1eJ411c7rf?p=16
CREATE TABLE `order` (
`order_id` int(11) NOT NULL AUTO_INCREMENT,
`order_name` varchar(45) DEFAULT NULL,
`order_date` date DEFAULT NULL,
PRIMARY KEY (`order_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;