阅读背景:

Postgres:将单行转换为多行(unpivot)

来源:互联网 

I have a table:

我有一张桌子:

Table_Name: price_list
---------------------------------------------------
| id | price_type_a | price_type_b | price_type_c |
---------------------------------------------------
| 1  |    1234      |     5678     |     9012     |
| 2  |    3456      |     7890     |     1234     |
| 3  |    5678      |     9012     |     3456     |
---------------------------------------------------
Table_Name: price_l



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: