sql如何创建一个基于视图的视图

2024-11-18 22:25:09
推荐回答(1个)
回答(1):

CREATE VIEW VV_View(Sno,SUM_Cno,AVG_Score)
AS
SELECT Sno,COUNT(Cno),AVG(Score)
FROM CS_View
GROUP BY Sno