1.用于模糊查询,做为过滤条件 ---------------------------上级的新闻下级可以看到-------------------------SELECT a.pk_cms_nrgl_st AS pk_id, a.time_stamp AS time_stamp, b.xalljgmc AS xalljgmc, a.cbt AS cbt, a.fk_cms_lmgl AS fk_cms_lmgl, a.cfbsj AS cfbsj, a.czt AS czt, a.cbody A…
注:MySQL中的模糊查询 like 和 Oracle中的 instr() 函数有同样的查询效果: 如下所示: MySQL: select * from tableName where name like '%helloworld%'; Oracle:select * from tableName where instr(name,'helloworld')>0; --这两条语句的效果是一样的…