WITH t AS
(
SELECT '0000000' tel FROM dual
UNION ALL SELECT '1111111' FROM dual
UNION ALL SELECT '1234567' FROM dual
UNION ALL SELECT '1234678' FROM dual
)
SELECT tel
FROM t
WHERE REGEXP_LIKE(tel, '([0-9])(\1){6}|0123456|1234567|2345678|3456789|4567890')
;
댓글등록
SQL문을 포맷에 맞게(깔끔하게) 등록하려면 code() 버튼을 클릭하여 작성 하시면 됩니다.