-
-
Save afnanenayet/90b820796eaeba071991 to your computer and use it in GitHub Desktop.
Business Server Stuff
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
/*Items originating from org*/ | |
select ItemId, ItemDescription from Items where ItemOriginalOrgId = 279; | |
/*Those with roles in org*/ | |
select RoleId, AcctId from Roles where OrgId = 279; | |
/*Items purchased from org and those who ordered them*/ | |
select Details.DItemId, Details.DItemDescription, Orders.OId, Orders.OAcctId, Orders.OBillTo from Orders join Details on OId=DOId where OAcctId=326 order by DItemId; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment