postgres 修改视图

来源:互联网 发布:云网络 编辑:程序博客网 时间:2024/05/17 22:56

这是视图内容:

 SELECT *FROM studentsWHERE Sex = 'M';

修改视图

CREATE OR REPLACE VIEW studentBySexAndClass  AS SELECT *FROM studentsWHERE Sex = 'M' and class='一年级';
0 0
原创粉丝点击