Skip to content

Instantly share code, notes, and snippets.

@jbaxleyiii
Created June 13, 2017 20:23
Show Gist options
  • Save jbaxleyiii/e6fba9e80e1886964ba9bafc927ca171 to your computer and use it in GitHub Desktop.
Save jbaxleyiii/e6fba9e80e1886964ba9bafc927ca171 to your computer and use it in GitHub Desktop.
SELECT COUNT(*)
FROM [FinancialPersonSavedAccount] FPA
JOIN [FinancialPaymentDetail] FP
ON FPA.FinancialPaymentDetailId = FP.Id
WHERE
FP.CurrencyTypeValueId = 156
AND FPA.FinancialGatewayId = 3
AND FP.CreditCardTypeValueId = null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment