select id,coname,description from test where website='' and description regexp '.*([a-z0-9\-]+\.){0}[a-z0-9\-]([a-z0-9\-]*[\.])+(aero|arpa|biz|com|coop|edu|gov|info|int|jobs|mil|museum|name|nato|net|org|pro|xyz|travellink|site|top|ren|red|wang|club|[a-z]{2}).*' order by id;
用mysql的regexp函数...
继续阅读 >>