![]() ![]() |
|
全国计算机二级(vf)sql语句练习5 | |
作者:佚名 文章来源:不详 点击数 更新时间:2008/4/18 14:52:12 文章录入:杜斌 责任编辑:杜斌 | |
|
|
select count(distinct(学号)) 学生人数 from score1 into dbf NEW_TABLE 查询没有学生选修的课程,查询结果含课程名,开课单位,结果按课程名胜虚保存在new_tabale2中 select 课程名,开课单位 from course ; where 课程号 not in (select distinct 课程号 from score1) order by 课程名 into dbf NEW_TABLE2 |
|
![]() ![]() |