ソースコード
select
    EMP_CODE as CODE,
    EMP_LAST_NAME as SURNAME,
    EMP_FIRST_NAME as NAME
from EMP
join (
    select
        replace(EMP_KANA_NAME," ","") as hurigana,
        count(replace(EMP_KANA_NAME," ","")) as count
    from
        EMP
    where
        VALID_FLG = '1'
    group by
        replace(EMP_KANA_NAME," ","")
) on
    replace(EMP_KANA_NAME," ","") = hurigana
where
    count > 1
order by
    replace(SURNAME," ",""),
    replace(NAME," ",""),
    CODE
提出情報
提出日時2023/02/20 11:26:20
コンテスト第5回 SQLコンテスト
問題同姓同名抽出
受験者mayu.s
状態 (詳細)WA
(Wrong Answer: 誤答)
メモリ使用量97 MB
メッセージ
テストケース(通過数/総数)
1/3
状態
メモリ使用量
データパターン1
AC
97 MB
データパターン2
WA
79 MB
データパターン3
WA
97 MB