[DB] 쿼리상에서 없는 도메인메일 뺴기

Database 2009.04.06 20:31 Posted by 애플자라
 and lower(substr(email, instr(email,'@')))
 not in ('@daum.co.kr','@hanmail.co.kr','@naver.net','@naver.co.kr'
  ,'@dreamwiz.net','@hotmail.co.kr','@hotmail.net','@kornet.com','@unitel.net'
  ,'@nate.co.kr', '@orgio.net','@sayclub.com','@sayclub.co.kr','@netian.com'
  ,'@samsung.co.kr','@weppy.com'
  ,'@hatmail.com','@lysco.com','@orgio.com','@sayclud.com','@sayclub.net'
  ,'@sayciub.com','@kfb.co.kr','@hanmir.net','@test.co.kr'
  ,'@paran.co.kr','@yahoo.co.kr','@yahoo.com','@yahool.co.kr','@yahoo.net'
  ,'@kebi.net','@godpeople.com')

댓글을 달아 주세요