Skip to content

Commit 12cd4a2

Browse files
committed
[docs add]程序员的技术成长战略
1 parent cb97fad commit 12cd4a2

File tree

6 files changed

+238
-27
lines changed

6 files changed

+238
-27
lines changed

docs/.vuepress/sidebar/high-quality-technical-articles.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export const highQualityTechnicalArticles = [
55
prefix: "advanced-programmer/",
66
collapsable: false,
77
children: [
8+
"the-growth-strategy-of-the-technological-giant",
89
"seven-tips-for-becoming-an-advanced-programmer",
910
"20-bad-habits-of-bad-programmers",
1011
],

docs/database/mysql/mysql-questions-01.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ InnoDB 的性能比 MyISAM 更强大,不管是在读写混合模式下还是
207207
- InnoDB 支持行级别的锁粒度,MyISAM 不支持,只支持表级别的锁粒度。
208208
- MyISAM 不提供事务支持。InnoDB 提供事务支持,实现了 SQL 标准定义了四个隔离级别。
209209
- MyISAM 不支持外键,而 InnoDB 支持。
210-
- MyISAM 不支持 MVVC,而 InnoDB 支持。
210+
- MyISAM 不支持 MVCC,而 InnoDB 支持。
211211
- 虽然 MyISAM 引擎和 InnoDB 引擎都是使用 B+Tree 作为索引结构,但是两者的实现方式不太一样。
212212
- MyISAM 不支持数据库异常崩溃后的安全恢复,而 InnoDB 支持。
213213
- InnoDB 的性能比 MyISAM 更强大。

docs/database/sql/sql-syntax-summary.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ ORDER BY cust_name DESC;
251251
**`having`**
252252

253253
- `having` 用于对汇总的 `group by` 结果进行过滤。
254-
- `having` 必须要与 `group by` 连用。
254+
- `having` 一般都是和 `group by` 连用。
255255
- `where` 和 `having` 可以在相同的查询中。
256256

257257
**使用 WHERE 和 HAVING 过滤数据**
@@ -266,8 +266,8 @@ HAVING COUNT(*) >= 1;
266266

267267
**`having` vs `where`**
268268

269-
- `where`:过滤过滤指定的行,后面不能加聚合函数(分组函数)。
270-
- `having`:过滤分组,必须要与 `group by` 连用,不能单独使用。
269+
- `where`:过滤过滤指定的行,后面不能加聚合函数(分组函数)。`where``group by` 前。
270+
- `having`:过滤分组,一般都是和 `group by` 连用,不能单独使用`having``group by` 之后
271271

272272
## 子查询
273273

@@ -1202,4 +1202,9 @@ SHOW TRIGGERS;
12021202

12031203
```sql
12041204
DROP TRIGGER IF EXISTS trigger_insert_user;
1205-
```
1205+
```
1206+
1207+
## 文章推荐
1208+
1209+
- [后端程序员必备:SQL高性能优化指南!35+条优化建议立马GET!](https://mp.weixin.qq.com/s/I-ZT3zGTNBZ6egS7T09jyQ)
1210+
- [后端程序员必备:书写高质量SQL的30条建议](https://mp.weixin.qq.com/s?__biz=Mzg2OTA0Njk0OA==&mid=2247486461&idx=1&sn=60a22279196d084cc398936fe3b37772&chksm=cea24436f9d5cd20a4fa0e907590f3e700d7378b3f608d7b33bb52cfb96f503b7ccb65a1deed&token=1987003517&lang=zh_CN#rd)

0 commit comments

Comments
 (0)