0
I have the query that return me two results where I would like to format it to came in the proper format. How could I do this?
select *, sum(valor) as ValorSoma, count(pedido) as QtdPedido from tb_vendas
where idvendas > 0
and data_venda between '05/10/2015' and '11/04/2016'
and vendedor = ''
group by cliente
order by QtdPedido desc
Decimal type sum value
Qtdpedido type integer
Thanks
Let me get this straight, you’re using this query somewhere in your system ? and want to store a two variables one of decimal type other of whole type ? or has nothing to do with ?
– stringnome
The result of Valuemote is Qtdpedido comes as a string
– Harry
You want what format?
– Israel Zebulon