select *from
(select *from score ,grade where score.degree bettwen low and upp as biaomingtable )
where rank=‘A‘
select 查询出来的结果集可以通过as 起别名 当做虚拟表来使用
------创建视图
create view shitu
as
select student .sno ,class,student.sname,score.degree,score.cno from student where student.sno=score.sno
go
alter view shitu --修改视图
drop view 视图---删除视图