Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/ascoders/weekly
Browse files Browse the repository at this point in the history
  • Loading branch information
ascoders committed Mar 14, 2022
2 parents 1662fad + 6005632 commit a66c2fb
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 a66c2fb

Please sign in to comment.