• 2022-06-11
    已知,存在 QueryRunner对象 runner ,SQL语句:String sql = "delete from user where id=?";下面操作中,能实现删除记录id=1的操作是( )
    A: Object num =runner.update(1, sql);
    B: Object num =runner.delete(1, sql);
    C: int num =runner.delete(sql, 1);
    D: int num =runner.update(sql, 1);
  • 举一反三