题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1235 统计同成绩学生人数 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 16022 Accepted Submission(s): 9214 Problem Description 读入N名学生的成绩,将获得某一给定分数的学生人数输
--CREATE DATABASE EXAM_1 --GO USE EXAM_1 --判断并删除表 IF OBJECT_ID('Scores') IS NOT NULL DROP TABLE Scores; GO IF OBJECT_ID('Courses') IS NOT NULL DROP TABLE Courses; GO IF OBJECT_ID('Students') IS NOT NULL DROP TABLE Students; GO IF OBJECT_ID('Teachers'
1.修改窗口 2.在StudentDao中增加根据姓名查找的方法 public List<Student> getStudent(String name)throws SQLException{ DbUtil dbUtil = new DbUtil(); String sql="select * from tb_student where name LIKE '"+name+"%'"; System.out.println(sql); List<S