답변 2개 / 댓글 1개
채택된 답변
+20 포인트
4년 전
select COUNT(*) as cnt2 from replace( a1_association ,' ','' ) where kc_l REGEXP '^[a-z]+$'
이렇게 공백을 제거하면 안될까요?
답변에 대한 댓글 1개
tacks
4년 전
4년 전
select COUNT(*) as cnt2 from replace( a1_association ,' ','' ) where kc_l REGEXP '^[a-z ]+$'
regular expression에서 공백을 추가해 보세요.
답변을 작성하려면 로그인이 필요합니다.
select COUNT(*) as cnt2 from a1_association where replace( kc_l,' ','' ) REGEXP '^[a-z]+$'
감사합니다.