sdayringer
3 years agoNew Contributor III
Extract Account's Assigned Plug Account via SQL
 Hello, 
 How can I call an account's assigned plug account via SQL? I able to get the PlugAcct DecimalValue, but need help with the syntax to return the account member name instead of the ID... 
 SEL...
- 3 years agoYou're joining on the wrong thing in the PlugAccount subquery. Should be: LEFT JOIN Member PA ON MP.DecimalValue = PA.MemberId