Advertisement
contatowellington

Untitled

Jul 9th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. SELECT *, SUM(preco) as Valor_Total
  2. FROM cadastro_pedidos
  3. WHERE id_cliente = kt_identcliente AND estatus = 'fechado' AND indentempresa = empresa
  4. GROUP BY identpedido
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement