즐겨찾기Raghav Sharma (Salesforce) 님이 #Apex에 질문했습니다2018년 10월 17일 오전 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개정렬날짜별 정렬가장 유용한 항목별 정렬날짜별 정렬Rajamohan Vakati (Amazon)2018년 10월 17일 오후 4:00Try this.. Select Sum (sal__c) from Employee__c groupBy Contacts.AccountID__c댓글 추가답변을 작성하세요...굵은 글꼴기울인 글꼴밑줄취소선불릿 기호 목록번호가 지정된 목록링크 추가코드 블록이미지 삽입파일 첨부링크 URL취소저장0/9000답글 쓰기
Rajamohan Vakati (Amazon)2018년 10월 17일 오후 4:00Try this.. Select Sum (sal__c) from Employee__c groupBy Contacts.AccountID__c