About this question
It is possible to run a query, and the results are inserted into an Apex list:
Listopportunities = [SELECT Opportunity.OwnerId, Opportunity.Probability,
Owner. Name FROM Opportunity
WHERE Opportunity.LastModifiedDate = LAST_N_DAYS:7];
Is it possible to get Soql to map where OpportunityID would be the key and the value of the Opportunity? If there is none, please tell me the quickest way to convert to a map.