创建视图
create view children_view as SELECT *
FROM user
WHERE age < 13;
修改视图
create or replace view children_view as SELECT *
FROM user
WHERE age <= 13;
删除视图
drop view children_view;
创建视图
create view children_view as SELECT *
FROM user
WHERE age < 13;
修改视图
create or replace view children_view as SELECT *
FROM user
WHERE age <= 13;
删除视图
drop view children_view;
本文标题:pg 视图 创建修改删除
本文链接:https://www.haomeiwen.com/subject/rksewrtx.html
网友评论