Difference between count() and count(fieldname) ?
Answer / Annu Kumar
The COUNT() function returns the total number of rows in a query result, while COUNT(fieldName) counts only non-null values for the specified field. Using COUNT(fieldName) can help you avoid counting empty or null fields when performing queries.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can we create a dashboard using Visual-force page? and what all the components we use here?
Explain apex code execution governors and limits?
How can you create object relations in salesforce?
What is collection in apex?
How will you achieve pagination in SOQL?
What is an apex transaction?
What are the escalation rules?
What is included with each standard controller? : salesforce visualforce
What is a standard profile?
How many types of assert statements are there and what is their purpose?
What is mvc architecture in visualforce?
What is field-level security in salesforce ?