随笔分类 -  MYSQL数据库随笔

随笔
MYSQL数据库随笔【4】范式
摘要:范式:在关系型数据库中,数据库表的设计原则被称为范式 参考资料地址: 阅读全文

posted @ 2022-07-03 00:53 qllove 阅读(33) 评论(0) 推荐(0)

MYSQL数据库随笔【3】 建表约束
摘要:1.主键约束(primary key) 能够唯一的确定某个表中记录的一条数据,唯一,不重复且不为空。 create table `test1` ( create table `test2`( `id` int(2) primary key , `id` int(2), ); `name` char 阅读全文

posted @ 2022-07-03 00:34 qllove 阅读(96) 评论(0) 推荐(0)

MYSQL数据库随笔【2】增删改查
摘要:1.增删改查: 增加: insert insert into `emp表` values(`属性1` 类型(长度),`属性2` 类型(长度)); 删除:delete delete from emp表 where 条件(id='',name='') 修改(更新):update update emp s 阅读全文

posted @ 2022-07-02 20:52 qllove 阅读(22) 评论(0) 推荐(0)

导航