I have one custom object 'Territory__c' which have standard Field "Name" and custom field "Territory_Ex_ID__c". So what would be SOQL whole data. Suppose the user list I want to fetch with this detail included.
I am new to salesforce, so please help me with scenario.