【MySQL】视图、触发器、存储过程、存储函数专题

视图

  1. 建立95211班的学生的年龄视图v_student_c(sno,sname,sage),并对视图加入检查约束
create view v_student_c(sno,sname,sage) as
select sno,sname,sage from student where sno like "95211%"

猜你喜欢

转载自blog.csdn.net/m0_68111267/article/details/131262336