
sql
文章平均质量分 60
践行~渐远
我只是简单的不喜欢对自己妄自菲薄,也不喜欢别人替我妄自菲薄而已
展开
-
MySQL默认隔离级别的记录锁和间隙锁
准备工作,先准备一张表 create table t3(id int not null primary key,value int,index(value)); insert into t3 values(1,0); insert into t3 values(2,3); insert into t3 values(3,5); insert into t3 values(4,7); insert into t3 values(5,20); insert into t3 values(6,41); inser原创 2021-07-18 13:14:15 · 318 阅读 · 0 评论 -
Mysql单表查询语句执行顺序
对于mysql查询语句往往对于新手来说比较混淆,没有一个直接的顺序来写select语句,这里总结一下单表查询的MySQL底层函数执行顺序 先创建一个表 SET NAMES utf8; SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------- -- Table structure for `employee_tbl` -- ---------------------------- DROP TABLE IF EXISTS `employee_t原创 2021-06-04 09:42:59 · 696 阅读 · 0 评论