Aggiungi ai preferitiRaghav Sharma (Salesforce) ha fatto una domanda in #Apex17 ott 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 rispostaOrdinaOrdina per dataOrdina in base alla maggiore utilitàOrdina per dataRajamohan Vakati (Amazon)17 ott 2018, 16:00Try this.. Select Sum (sal__c) from Employee__c groupBy Contacts.AccountID__cAggiungi un commentoScrivi una risposta...GrassettoCorsivoSottolineaBarratoElenco puntatoElenco numeratoAggiungi linkBlocco codiceInserisci immagineAllega fileURL del linkAnnullaSalva0/9000Rispondi
Rajamohan Vakati (Amazon)17 ott 2018, 16:00Try this.. Select Sum (sal__c) from Employee__c groupBy Contacts.AccountID__c