Position of a user based on his sum of amount in list of sum of amount of all users

后端 未结 0 742
情话喂你
情话喂你 2020-12-06 14:41

I have a database with fields

id
user_id
amount

i want to find the position(rank) of the user based on his total amount

what i have do

相关标签:
回答
  • 消灭零回复
提交回复
热议问题