需求模拟:

 

从业务表中取关键字:

mysql模糊查询条件多表联查模板

 

根据关键字模糊查询内容, 符合条件返回整条:

mysql模糊查询条件多表联查模板

 

sql模板:

select
*
from
inf_order_evaluate as oe
where
oe.Content like CONCAT('%', (select PaintOrderTypeName from wor_paint_order_type where PaintOrderTypeId = 3), '%')

 

查询结果:

mysql模糊查询条件多表联查模板

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-01
相关资源
相似解决方案