Created
September 22, 2016 18:46
-
-
Save petdance/c7662e05120f9f53849714e55475b8cd to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
COUNT(*), | |
DECODE( pubyear, NULL, 'Y', 'N') | |
FROM cadetail | |
WHERE | |
caid=:caid | |
GROUP BY | |
DECODE( pubyear, NULL, 'Y', 'N') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment