摘要: 一、先创建表 CREATE TABLE stu(id INT UNSIGNED AUTO_INCREMENT,NAME VARCHAR(15) UNIQUE, /* 唯一约束 , 可以不填写,如果填写,不能为重复*/age TINYINT UNSIGNED DEFAULT 18, /* 默认值 */ 阅读全文
posted @ 2022-02-18 19:46 一份人间烟火 阅读(225) 评论(0) 推荐(0)
摘要: 一、介绍 CRUD即增加(Create)、查询(Retrieve)、更新(Update)、删除(Delete)四个单词的首字母缩写。 In computing, CRUD is an acronym for create, Retrieve, update, and delete. It is us 阅读全文
posted @ 2022-02-18 15:25 一份人间烟火 阅读(130) 评论(0) 推荐(0)