Skip to content

Instantly share code, notes, and snippets.

@ksakae1216
Created February 16, 2017 13:06
Show Gist options
  • Save ksakae1216/dea8b937a45784ea0e2e277e551c9305 to your computer and use it in GitHub Desktop.
Save ksakae1216/dea8b937a45784ea0e2e277e551c9305 to your computer and use it in GitHub Desktop.
SELECT
COUNT(*) AS CNT
FROM
TEST_TBL
WHERE
COL1 = 'AAA'
AND
COL2 = 'BBB'
GROUP BY
COL1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment