JDBC基础练习
王琦wq
这个作者很懒,什么都没留下…
展开
-
2018-12-28作业
一个数据库stdb,用户名为root 密码为root, 已存在一个表student中有七个学生的信息,姓名,性别,年龄,分数. id(int) name(varchar(20)) sex(varchar(20)) age(int) score(int) 1 李少荣 女 ...原创 2018-12-28 17:40:17 · 212 阅读 · 0 评论 -
2018-12-29作业
接昨天作业 (6)定义查询所有学生的方法public List getAllStudent(){} (7)定义根据id查询学生的方法public Student getStudentById(int id){} (8)定义根据id删除学生的方法public int deleteStudentById(int id){} (9)定义添加学员的方法public int addStudent(Stude...原创 2018-12-29 18:25:05 · 236 阅读 · 0 评论