You need to sign in to do that
Don't have an account?

I would like to display top 10 accounts based on annual revenue..could you let me know how to write a query for this one
list<account> acctlist= new list<account>([select id, annualrevenue from Account order by annualrevenue desc limit 10]);