现有数据如下,按Store和Month分类。黑体字为最近月份的销售量。
Store Month Sale
A 1 10
A 2 15
A 3 12
B 1 14
B 2 15
C 1 11
C 2 15
C 3 16
C 4 17
最终想得到的结果如下:
Store Most_recent_sale
A 12
B 15
C 17
现在能想到的语句是 if last.A then do; 但是不知道怎么用。。。 求指点:)

|
楼主: myocean7
|
4920
4
if last.A then do??? |
|
大专生 66%
-
|
| ||
|
|
加好友,备注cda京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明


