Establecer como favoritoRaghav Sharma (Salesforce) preguntó en #Apex17 oct 2018, 10:42On account , we have contact. There is a custom object called employee having lookup on contact and custom field called salary. I want to display the sum of all employee salaries on account record . Can we write an soql query for this?1 respuestaOrdenarClasificar por fechaClasificar por más útilClasificar por fechaRajamohan Vakati (Amazon)17 oct 2018, 16:00Try this.. Select Sum (sal__c) from Employee__c groupBy Contacts.AccountID__cAgregar un comentarioEscribir una respuesta...NegritaCursivaSubrayadoTachadoLista con viñetasLista numeradaAgregar vínculoBloque de códigoInsertar imagenAdjuntar archivosURL de vínculoCancelarGuardar0/9000Responder
Rajamohan Vakati (Amazon)17 oct 2018, 16:00Try this.. Select Sum (sal__c) from Employee__c groupBy Contacts.AccountID__c