Created
March 16, 2022 16:17
-
-
Save yssymmt/b2316461eef988415dff19763e97fe39 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 件数 | |
from データベース名.テーブル名 | |
group by 1,2 | |
having count(*) >1 | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment