INCLUDES keyword in SOQL

INCLUDES keyword is used as filter for multi-select picklist in Salesforce.

Sample Query:

SELECT Name, AccountNumber, Territories__c FROM Account Where Territories__c INCLUDES ('North','South','')

here North, South and ” are values. ” mean null values(Territories Covered field is not filled).

Output:

Leave a Reply