Created
March 14, 2014 19:18
-
-
Save smcllns/9554818 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
/* SOQL #1 */ | |
SELECT CreatedById, MAX(Final_Order_Total__c)'amount' FROM PBSI__PBSI__Sales_Order__c WHERE CreatedDate = YESTERDAY; | |
/* SOQL #2 */ | |
/* A query can require data from a previous query */ | |
SELECT FullName FROM User WHERE Id = {{query1.[0].CreatedById}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment