MySQL: select * from tableName where name like '%helloworld%';
Oracle:select * from tableName where instr(name,'helloworld')>0; --这两条语句的效果是一样的
//instr方式必须保证hkxz的code值不能存在交集,其中一个code不能是另一个code的子集,101和10
//否则用 name in ( , , )
MySQL: select * from tableName where name like '%helloworld%';
Oracle:select * from tableName where instr(name,'helloworld')>0; --这两条语句的效果是一样的
//instr方式必须保证hkxz的code值不能存在交集,其中一个code不能是另一个code的子集,101和10
//否则用 name in ( , , )