oracle 实现多字段匹配一个关键字查询语句:
有两种方法(经测试,10g中不能用,11g才行):

第一种. select * from table where ('字段名1' ||'字段名2' ||...) like "%keyValue%";

第二种:(1)如果是两个字段的话:
select * from table where concat(字段名1,字段名2) like "%keyValue%";
(2)如果是多个字段的话:
select * from table where concat(concat(concat(concat(字段名1,字段名2),字段名3)字段名4)...) like "%keyValue%";

相关文章:

  • 2021-09-28
  • 2022-01-08
  • 2018-04-08
  • 2021-09-07
  • 2021-10-19
  • 2021-12-09
  • 2021-09-28
  • 2021-12-10
猜你喜欢
  • 2019-05-16
  • 2021-11-27
  • 2021-09-28
  • 2021-09-28
  • 2021-09-28
  • 2021-11-27
  • 2018-12-21
相关资源
相似解决方案