🌈 搜索
📅  最后修改于: 2022-03-11 14:57:56.038000             🧑  作者: Mango
If(Customer <> Previous(Customer), 1, If(OrderAmount <> Previous(OrderAmount), Peek(Rank) + 1, Peek(Rank))) as Rank