Fix chapter2 comma typo

This commit is contained in:
张林伟 2025-05-23 17:30:57 +08:00 committed by GitHub
parent 143cf7151d
commit f078cfd3f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
ch2.md
View File

@ -437,7 +437,7 @@ WHERE family = 'Sharks'
GROUP BY observation_month;
```
`date_trunc('month'timestamp)` 函数用于确定包含 `timestamp` 的日历月份,并返回代表该月份开始的另一个时间戳。换句话说,它将时间戳舍入成最近的月份。
`date_trunc('month', timestamp)` 函数用于确定包含 `timestamp` 的日历月份,并返回代表该月份开始的另一个时间戳。换句话说,它将时间戳舍入成最近的月份。
这个查询首先过滤观察记录,以只显示鲨鱼家族的物种,然后根据它们发生的日历月份对观察记录果进行分组,最后将在该月的所有观察记录中看到的动物数目加起来。