【发布时间】:2020-03-28 18:13:10
【问题描述】:
CREATE VIEW V_SALES_REPORT AS SELECT Sales_ID、Sales_Date、Product_ID、Product_Name、Quantity_Sold、Product_Unit_Price、Sales_Price_Per_Unit、(Sales_Price_Per_Unit - Product_Unit_Price)Profit_Amount FROM TBL_STOCK NATURAL JOIN TBL_SALES ORDER BY Profit_Amount DESC、Sales_ID ASC;
得到错误:
第 1 行的错误: ORA-01031: 权限不足 the snapshot
【问题讨论】:
-
嗨!能否请您复制/粘贴 SQL 查询而不是图片?
-
请不要将代码发布为图片。请参阅此处了解更多详细信息原因:meta.stackoverflow.com/questions/285551
标签: sql oracle ddl sql-view oracle11gr2