Master the concepts of Salesforce in just 45 days Click here to know more.
8
10
58
27
Premium Salesforce Weekend Batch Start From Tomorrow.
Select Student_name from student__c where couse_opted__c = ‘Salesforce Admin’;
Select Student_name from student__c where couse_opted__c = ‘Salesforce Admin and App Builder’ OR couse_opted__c = ‘Salesforce Developer’;
Select Student_name from student__c where couse_opted__c = ‘Salesforce Admin and App Builder’ OR graduated__c = false;
Example:
public class soql
{
public static void main()
List<Account> accList = [Select Name, NumberOfEmployees from account]; for(integer i=0; i<accList.size(); i++) { System.debug(accList[i].numberOfEmployees); } // *** FOR EACH LOOP *** for(Account a:acclist) { System.debug(‘Acc Name = ‘+a.Name+’NumOfEmp = ‘+a.numberOfEmployees); }
}
Note: It is mandatory to mention the field in the SOQL query which you want to access in the Apex Code.
Note: Comparison of strings are case sensitive using ’=’ operator in soql.
< < Previous
Next > >
The batch is going to start shortly. Fill the form given below to Register yourself now.
Fill out the form and get consulted by our Salesforce experts.
Fill out the form to figure out to detemine the perfect Salesforce profile for yourself.
Fill the form below to get a demo of this course.
Fill out the form to get your Premium Salesforce Development Course
Online Salesforce Development Course is soon going to be launched. Please fill the form and we will notify you about the course.