查询分数在80~90范围内的学生的学号、姓名、分数
查询分数在80~90范围内的学生的学号、姓名、分数
数据库:studentsdb
共有三个表
表1:curriculum
表2:grade
表3:student_info
SQL语句:
select distinct grade.学号,student_info.姓名,grade.分数
from student_info,grade
where grade.学号=student_info.学号 and 分数>80 and 分数<90