【发布时间】:2019-09-21 05:46:00
【问题描述】:
我是甲骨文的初学者。我尝试按照源代码解决并得到以下O / P。但是不能,请给出一些想法来解决这个问题。
id product sales
--- ------------- --------
1 Soaps 1200
2 Ice cream 2300
3 Cool drinks 2500
4 Tv 5000
5 Mobile 10000
6 Washing machine 20000```
```O/P
id product sales
--- ------------- --------
1 Soaps 1200
2 Ice cream+Cool drinks 4800
3 Tv+Mobile 15000
6 Washing machine 20000```
【问题讨论】:
-
作为提示,请阅读“窗口函数”
-
电视和手机是如何连接的?他们的类别是否有任何映射?
标签: sql oracle analytic-functions