> > > Select > sum(valorunit)-(Select > sum(valorunit) > from > saidavendas > where > cli_codigo: 111) as total > from > vendas > where > cli_codigo: 111; > Tenta isso ai xD