Skip to content

Commit

Permalink
update sql docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fengzhao committed Oct 22, 2024
1 parent 9ce4143 commit b1d019e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/olap/01.OLAP概述.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ PostgreSQL除了支持基本的GROUP BY分组操作之外,还支持3种高级
本文数据来源为世界银行公开数据中的 GDP(现价美元)和人口总数。为了方便使用,我们将数据转换成了 SQL 脚本,摘取了全球 217 个国家和地区 2010-2018 年的 GDP 数据(按照现价美元进行换算)以及相应的人口数据。


```
"SL.UEM.TOTL", # 失业人数 Number of people unemployed
"SL.UEM.TOTL.ZS", # 失业率 Unemployed (%) (modeled ILO estimate)
"SL.UEM.TOTL.NE.ZS", # 失业率 Unemployed (%) national estimate
Expand All @@ -287,6 +289,9 @@ PostgreSQL除了支持基本的GROUP BY分组操作之外,还支持3种高级
"NY.GDP.PCAP.CD", # 人均 GDP
"SP.POP.TOTL" # 人口总数
```

```shell
su - postgres
cd /data/postgres/14.4/bin/
Expand Down

0 comments on commit b1d019e

Please sign in to comment.