Skip to content

Instantly share code, notes, and snippets.

@abalone0204
Created March 31, 2016 07:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abalone0204/cd7f753a9f090fa26b789c0a976d57c8 to your computer and use it in GitHub Desktop.
Save abalone0204/cd7f753a9f090fa26b789c0a976d57c8 to your computer and use it in GitHub Desktop.
eztabler
SELECT
IFNULL(pcr.transid,
IFNULL(acr.gwsr,
IFNULL(ncr.ordernumber_timestamp,0))) auth ,
NULLIF( (pcr.transid, IFNULL( acr.gwsr, IFNULL( ncr.ordernumber_timestamp, 0)) ), '')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment