22-5-6 接口练习(中)

增加:

 "insert into test01 set ?"

image
image

删除

"delete from test01 where name = ?"

image
image

注意:这里的改绝对不是修改数据表的结构,用户没有这个权限。改只是在做更新用户对象的操作。
可参考:https://www.jb51.net/article/240255.htm#_lab2_0_5

"update test01 set grade=?,password=? where name = ?"

image
image

"select * from test01 where id = ?"

略过,些许包含在上文中

字段类型

字符串 varcahar(n)
数字 int

posted @ 2022-05-06 01:16  皮皮买  阅读(27)  评论(0编辑  收藏  举报