随笔分类 -  数据库

摘要:联合索引只有在左侧有序的情况下,整体才是有序的。抛开左侧,单看右侧不是有序的(个人理解类似比较两个数大小,先比较最高位一样) 参考:https://www.bilibili.com/video/BV1Sp4y1e7W6?from=search&seid=12277373129446050852&sp 阅读全文
posted @ 2022-06-13 09:38 Chenyi_li 阅读(29) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/houguofei123/article/details/81569775 阅读全文
posted @ 2022-05-29 19:09 Chenyi_li 阅读(30) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/fuzhijieabc/article/details/123775196 参考:https://blog.csdn.net/li1351026473/article/details/117247317 参考:https://blog.csdn.ne 阅读全文
posted @ 2022-05-21 18:52 Chenyi_li 阅读(33) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/paul0127/article/details/82529216 阅读全文
posted @ 2021-02-01 20:16 Chenyi_li 阅读(36) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/qwerty_4/article/details/82391144 阅读全文
posted @ 2021-01-28 21:54 Chenyi_li 阅读(35) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/cry_shoulder/article/details/94549319 主码 \subseteq 候选码 \subseteq 码 ps:元组理解为一张表的某一行,属性理解为一张表的某一列,属性名就是列的名字(字段)。 1(码):码是可以确定一个元 阅读全文
posted @ 2021-01-27 14:14 Chenyi_li 阅读(1377) 评论(0) 推荐(1) 编辑
摘要:转载:http://blog.codinglabs.org/articles/theory-of-mysql-index.html 阅读全文
posted @ 2021-01-24 20:37 Chenyi_li 阅读(41) 评论(0) 推荐(0) 编辑
摘要:今天被问到存储过程和触发器的使用和区别?仔细想想,好像存储器是存储器,触发器是触发器?没啥关系呀? 存储过程: 是在大型数据库系统中, 一组为了完成特定功能的SQL 语句集, 存储在数据库中,经过第一次编译后再次调用不需要再次编译, 用户通过指定存储过程的名字并给出参数(如果该存储过程带有参数)来执 阅读全文
posted @ 2021-01-08 16:46 Chenyi_li 阅读(296) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示