Salesforce Fact #224 | AND OR in same SOQL
Whenever we are using both AND & OR operator in SOQL, we should always ensure proper parenthesis is in place to define the priority. But do not worry if you forget to include parenthesis, you would get error be it in Developer console or be it in apex class.
Attached are the screenshots.
Comments
Post a Comment