mysql 한글 자음 검색(한글 초성 검색)
WHERE (name RLIKE '^(ㄱ|ㄲ)' OR ( name >= '가' AND name < '나' )) WHERE (name RLIKE '^ㄴ' OR ( name >= '나' AND name < '다' )) WHERE (name RLIKE '^(ㄷ|ㄸ)' OR ( name >= '다' AND name < '라' )) WHERE (name RLIKE '^ㄹ' OR ( name >= '라' AND name < '마' )) WHERE (name RLIKE '^ㅁ' OR ( name >= '마' AND name < '바' )) WHERE (name RLIKE '^ㅂ' OR ( name >= '바' AND name < '사' )) WHERE (name RLIKE '^(ㅅ|ㅆ)' OR ( name >= '사' AND name < '아' )) WHERE (name RLIKE '^ㅇ' OR ( name >= '아' AND name < '자' )) WHERE (name RLIKE '^(ㅈ|ㅉ)' OR ( name >= '자' AND name < '차' )) WHERE (name RLIKE '^ㅊ' OR ( name >= '차' AND name < '카' )) WHERE (name RLIKE '^ㅋ' OR ( name >= '카' AND name < '타' )) WHERE (name RLIKE '^ㅌ' OR ( name >= '타' AND name < '파' )) WHERE (name RLIKE '^ㅍ' OR ( name >= '파' AND name < '하' )) WHERE (name RLIKE '^ㅎ' OR ( name >= '하'))