Created
February 15, 2018 13:36
-
-
Save ksakae1216/8a2d2aa01bad6e629007da9302cc6520 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 | |
COUNT(*) AS CNT | |
FROM ( | |
SELECT | |
COL1 | |
FROM | |
TEST_TBL | |
WHERE | |
COL1 = 'AAA' | |
AND | |
COL2 = 'BBB' | |
GROUP BY | |
COL1 | |
) A |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment