SQL语言用子查询来查询没有选修课程的所有学生的学号,姓名?
你最好给出表结构、字段名、表名,这样才能帮你
select * from students where id not in (select sid from selectcourses)