CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.

YesSoftware Forums -> CodeCharge Studio -> Español

 COnsulta sobre sumas y restas

Print topic Send  topic

Author Message

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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login

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