Boa tarde, gostaria de ver a soma de faturamento de duas datas diferentes(2018 x 2019, mas estou tendo problema com o subselect "Detalhes: "ODBC: ERROR [HY000] [Oracle][ODBC][Ora]ORA-00907: parêntese direito não encontrado"
Select
Cast(SUM(VLRBRU) AS VARCHAR(20)) AS "Faturamento 2018",
(Select
Cast(SUM(VLRBRU) AS VARCHAR(20)) AS "Faturamento 2019"
FROM E140IPV
WHERE CODEMP=1 AND CODFIL=1 AND datger BETWEEN TO_DATE ('2019/01/01', 'yyyy/mm/dd') AND TO_DATE ('2019/12/31', 'yyyy/mm/dd') AND TNSPRO IN ('5101','5103','5904','6101','6109','6124','6401','6501','7101','5949A','6109D','6113','5501','6118');
)
FROM E140IPV
WHERE CODEMP=1 AND CODFIL=1 AND datger BETWEEN TO_DATE ('2018/01/01', 'yyyy/mm/dd') AND TO_DATE ('2018/12/31', 'yyyy/mm/dd') AND TNSPRO IN ('5101','5103','5904','6101','6109','6124','6401','6501','7101','5949A','6109D','6113','5501','6118')