Created
May 10, 2016 01:07
-
-
Save diego-aslz/1be3e344f49e25d24b7d554b9418ff9a 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
SELECT | |
MESA, | |
VALOR | |
FROM | |
VENDAS | |
WHERE | |
DT_CANCELAMENTO IS NOT NULL | |
AND | |
DATEADD(-3 HOUR TO DT_EMISSAO) BETWEEN :DT_INICIO | |
AND DATEADD(1 DAY TO :DT_FIM) | |
ORDER BY | |
ID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment