Last active
September 27, 2019 10:13
-
-
Save lfreeland/17dcc527e75c0102d1fad9cda039b85a to your computer and use it in GitHub Desktop.
Valid Related To Account Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT Id, | |
WhatId, | |
TypeOf What | |
WHEN Account THEN BillingState, BillingCity | |
END | |
FROM Task | |
WHERE WhatId In (SELECT Id | |
FROM Account) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment