SELECT
SUM(id_fatura) as 'Val1',
SUM(id_linha_fatura) as 'Val2',
SUM(id_contrato) as 'Val3',
SUM(id_servico) as 'Val4',
SUM(valor) as 'Val5',
(SUM(Val1) + SUM(Val2) + SUM(Val3) + SUM(val4) + SUM(val5)) as 'soma_faturas'
FROM DETALHE_FATURA;
Appear a error
SQL Error [923] [42000]: ORA-00923: FROM keyword not found where expected.
can anyone explain me why is appearing me this error