8. 说明:—— 
SQL: select * 
     from studentinfo 
     where not exists(select * from student where studentinfo.id=student.id) 
           and 系名称=’’"&strdepartmentname&"’’
           and 专业名称=’’"&strprofessionname&"’’
     order by 性别, 生源地, 高考总成绩;

解决方案 »

  1.   

    查询studentinfo 表中特定系名,专业名称,并且不在学生表中的数据
      

  2.   

    获取studentinfo表里某个系某个专业不在student表的数据
      

  3.   

    查询出指定系和专业的student中不存在的studentinfo,并按照性别, 生源地, 高考总成绩排序。这个一般貌似是找到报名的但是实际的没有被录取的学生
      

  4.   

    查询studentinfo表中系名称为strdepartmentname,专业名称为strprofessionname的,并且不在学生表里面的学生的信息
      

  5.   

    错了吧.student表在哪里?
    我认为这句是错的.
      

  6.   

    说错了.应该是获取studentinfo表里某个系并且该系某个专业不在student表的数据