当前位置 : 主页 > 编程语言 > c++ >

Mybatis增删改查语法

来源:互联网 收集:自由互联 发布时间:2021-07-03
Mybatis增删改查语法 select * from Demo where id=#{id} update Demo set name=#{0},pwd=#{1},age=#{2} where id=#{3} delete Demo where id=#{id} select seq1.nextval from dual insert into Demo(id,name,pwd,age,roleid) values(#{id},#{name},#{p
Mybatis增删改查语法
 


 


  


  
    update Demo set name=#{0},pwd=#{1},age=#{2} where id=#{3} 
  


  
    delete Demo where id=#{id} 
  


   
   
     select seq1.nextval from dual 
    insert into Demo(id,name,pwd,age,roleid) values(#{id},#{name},#{pwd},#{age},#{roleid}) 
  


  


  


 
网友评论