视图

CREATE
    VIEW `test`.`Student` (Sno, Sname, Sage, Ssex, Sdept)
    AS
(SELECT sx.`Sno`,sx.`Sname`,sx.`Sage`,sy.`Ssex`,sy.`Sdept` FROM sx,sy WHERE sx.`Sno`=sy.`Sno`);

 

posted @ 2016-10-24 14:47  吃饭睡觉打逗逗  阅读(85)  评论(0编辑  收藏  举报