SQL Server - View
时间:2021-07-01 10:21:17
帮助过:3人阅读
---------------创建视图---------------------------
create OR ALTER VIEW ViewClassMates
as
(
select t.ClassId,tt.StdID, t.ClassName, tt.StdUserName,tt.StdGender,tt.StdCardNo,tt.StdAddress,t.ClassDesc
from Class t, Student tt
where t.ClassId
= tt.ClassId
)
--select * from ViewClassMates
作者:Jeremy.Wu
出处:https://www.cnblogs.com/jeremywucnblog/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
SQL Server - View
标签:rom car code col size nat psi alt back