所以我有这个代码
with invoice as (
select
8000 INV_NUM,1000 CUST_NUM,'3/23/2014' INV_DATE,235.89 INV_AMOUNT
from dual union all
select 8001,1001,'3/23/2014',312.82
from dual union all
select 8002,1002,'3/30/2014',528.10
from dual union all
select 8003,1003,'4/12/2014',194.78
from dual union all
select 8004,1004,'4/23/2014',619.44 from dual)
SELECT INV_NUM, INV_AMOUNT, AVERAGE,
AVERAGE-INV_AMOUNT DIFFERENCE
FROM INVOICE,(select avg(inv_amount) average from invoice)
ORDER BY INV_NUM, INV_AMOUNT
在该项目“ https://codesandbox.io/s/py2ryvrkrx”的Video.js文件中,您可以看到它在没有create-react-app的情况下也可以正常工作。但是,我尝试使用create-react-app的Firefox在所有地方(无论是本地的还是在codeandbox中)在Firefox的控制台中均不支持“ text / html”的HTTP“ HTTP Content-Type”。媒体资源{ 3}}失败。”而且我一辈子都无法弄清楚如何添加更多的mime类型。
在此先感谢您的帮助!