+ Start a Discussion
syamkishore1.3906536981992773E12syamkishore1.3906536981992773E12 

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

Ramu_SFDCRamu_SFDC
list<account> acctlist= new list<account>([select id, annualrevenue from Account order by annualrevenue desc limit 10]);