Created
May 2, 2019 14:50
-
-
Save thebrettbarlow/9f61b3c6aabe8c725cbe2e29e7f2a562 to your computer and use it in GitHub Desktop.
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, Name, (SELECT Id, Name, Amount, CloseDate FROM Opportunities) | |
FROM Account | |
WHERE Id IN (SELECT AccountId FROM Opportunity) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment