CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Español

 COnsulta sobre sumas y restas

Print topic Send  topic

Author Message
adorni

Posts: 120
Posted: 08/01/2012, 11:36 AM

Hice esta secuencia:

SELECT GrupoOrden, Sum(MontoRecibo) AS Expr1, Sum(Montodev) AS Expr2, Sum(MontoRecibo) - Sum(Montodev) as Neto
FROM licitaciones
GROUP BY GrupoOrden

Para que me sume un campo y me reste el otro para un mismo GrupoOrden.

El tema es que solo quiero que me liste los "Neto" osea, la resta sea DISTINTA de CERO. Que puedo hacer?
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.