[MySQL] Views, Triggers, Stored Procedures, Stored Functions

view

  1. Create the age view v_student_c (sno, sname, sage) of the students in class 95211, and add check constraints to the view
create view v_student_c(sno,sname,sage) as
select sno,sname,sage from student where sno like "95211%"

Guess you like

Origin blog.csdn.net/m0_68111267/article/details/131262336