view 视图
2017-12-04 本文已影响0人
Xr丶_c967
CREATE VIEW v_grad
as
select sno,cno,degree
from scorce s
where degree=(SELECT max(degree)
from scorce s2
where s.cno=s2.cno)
CREATE VIEW v_grad
as
select sno,cno,degree
from scorce s
where degree=(SELECT max(degree)
from scorce s2
where s.cno=s2.cno)