输入banner图图片脚本导航/分类

在JDBC中实现SQL语句的模糊查询

* from table where tableid like %id%;
  • JDBC中的sql语句:

String sql = "select * from table where tableid like \"%\"?\"%\"";//?为占位符

 

在JDBC中实现SQL语句的模糊查询

标签:查询   tab   where   class   code   style   方式   bsp   语句