I am trying to create a map from a result of a SOQL query, this map contains the name of the fields as keys and the values of the query as values for example:
List accounts = [SELECT Name, Email FROM Account];
and the map Map has this structure:
key value name 123 email email@example.com
any ideas please ?