Skip to content

Commit

Permalink
Merge pull request ascoders#402 from careteenL/patch-1
Browse files Browse the repository at this point in the history
fix: typo in 232.SQL 聚合查询.md
  • Loading branch information
ascoders authored Mar 8, 2022
2 parents 4cb5a84 + cbc75a5 commit 6005632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SQL/232.SQL 聚合查询.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ AVG 遇到 NULL 值时采用了最彻底的忽略方式,即 NULL 完全不参

### MAX、MIN

MAX、MIN 分别求最大与最小值,上面不同的时,也可以作用于字符串上,因此可以根据字母判断大小,从大到小依次对应 `a-z`,但即便能算,也没有实际意义且不好理解,因此不建议对字符串求极值。
MAX、MIN 分别求最大与最小值,与上面不同的是,也可以作用于字符串上,因此可以根据字母判断大小,从大到小依次对应 `a-z`,但即便能算,也没有实际意义且不好理解,因此不建议对字符串求极值。

```sql
SELECT MAX(cost) FROM test
Expand Down

0 comments on commit 6005632

Please sign in to comment.