MySQL字符串处理之一个字段包含多个ID的解决

复制drop table if exists Category; create table Category ( cateId int(5) not null AUTO_INCREMENT,字之个字段 chiName varchar(80), primary key (cateId) ); drop table if exists OpenRecord; create table OpenRecord ( opreId int(5) not null AUTO_INCREMENT, cateIds varchar(80), primary key (opreId) ); 1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.