Home  >  Article  >  Database  >  MySQL正则表达式初步

MySQL正则表达式初步

WBOY
WBOYOriginal
2016-06-07 16:19:31949browse

-- 插入一些测试数据: TRUNCATE TABLE t_regcustomer; INSERT INTO t_regcustomer(name, age) VALUES ('王明',20); INSERT INTO t_regcustomer(name, age) VALUES ('王大',21); INSERT INTO t_regcustomer(name, age) VALUES ('小王',22); INSERT INTO t_reg

-- 插入一些测试数据:

TRUNCATE TABLE t_regcustomer;

INSERT INTO t_regcustomer(name, age) VALUES ('王明',20);

INSERT INTO t_regcustomer(name, age) VALUES ('王大',21);

INSERT INTO t_regcustomer(name, age) VALUES ('小王',22);

INSERT INTO t_regcustomer(name, age) VALUES ('小王2',22);

INSERT INTO t_regcustomer(name, age) VALUES ('敲不死',23);

INSERT INTO t_regcustomer(name, age) VALUES ('憨憨',24);

INSERT INTO t_regcustomer(name, age) VALUES ('憨憨2',24);

INSERT INTO t_regcustomer(name, age) VALUES ('郭靖名',25);

INSERT INTO t_regcustomer(name, age) VALUES ('郭靖2',25);

INSERT INTO t_regcustomer(name, age) VALUES ('郭靖3',25);

INSERT INTO t_regcustomer(name, age) VALUES

('郭得缸',25)

,('大鹏',20)

,('大鹏2',20)

,('大鹏3',20)

,('二鹏',19)

,('鹏鹏',18)

,('鹏鹏1',18)

,('小鹏',17)

,('AAA',17)

,('aaa',17)

,('SS',17)

,('s2',17)

,('ss',17)

;

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn