1810-zx

insert into student values(\'S001\',20,\'曾%天\',\'男\',\'190802A\',\'122\',\'hhhh\');

-- 查询名字中包含%的学生信息    在%前加个转义字符\  使用escape指明 \

select * from student where name like \'%\%%\' escape \'\\';

分类:

技术点:

相关文章:

  • 2021-08-01
  • 2021-04-05
  • 2021-08-12
  • 2021-12-20
  • 2021-11-03
  • 2021-12-20
猜你喜欢
  • 2022-12-23
  • 2022-02-05
  • 2022-12-23
  • 2021-12-10
  • 2022-01-08
  • 2021-08-21
  • 2021-11-22
相关资源
相似解决方案