You need to sign in to do that
Don't have an account?
WildMan
SELECT Name, Amount, AccountId FROM Opportunity WHERE CALENDAR_YEAR(CreatedDate) = 2019 ORDER BY Amount DESC
I would like to rank my result !
Rank1 for the highter amount value
Rank2 for an other value
Rank3 and so on
Rank1 for the highter amount value
Rank2 for an other value
Rank3 and so on
See the below code that gives rank, I have used 2020, you can use 2019 there. If is it the requirement, then mark it as the best answer, that will help others too.