oracle视图可以建在视图上吗

如题所述

Use the CREATE VIEW statement to create a view.
使用create view 命令来创建视图
SQL> 1 CREATE VIEW emp_sal_comm AS
2 SELECT employee_id, salary,
3 salary * NVL(commission_pct,0) commission
4 FROM employees;
其中 emp_sal_comm 是视图名
employees 是视图数据来源(表名)
温馨提示:答案为网友推荐,仅供参考
相似回答