ソースコード
SELECT A.EMP_CODE AS CODE,
replace(A.EMP_LAST_NAME,"","") AS SURNAME,
replace(A.EMP_FIRST_NAME,"","") AS NAME FROM EMP AS A WHERE EXISTS (SELECT * FROM EMP AS B WHERE A.EMP_CODE != B.EMP_CODE AND replace(A.EMP_LAST_NAME," ","") == replace(B.EMP_LAST_NAME," ","") AND replace(A.EMP_FIRST_NAME," ","") == replace(B.EMP_FIRST_NAME," ","")) ORDER BY  replace(A.EMP_LAST_NAME," ",""),replace(A.EMP_FIRST_NAME," ",""),EMP_CODE;
提出情報
提出日時2023/02/19 09:09:06
コンテスト第5回 SQLコンテスト
問題同姓同名抽出
受験者hiikunZ
状態 (詳細)WA
(Wrong Answer: 誤答)
メモリ使用量79 MB
メッセージ
テストケース(通過数/総数)
0/3
状態
メモリ使用量
データパターン1
WA
79 MB
データパターン2
WA
79 MB
データパターン3
WA
79 MB