Ver Mensaje Individual
  #7  
Antiguo 01-03-2015
giulichajari giulichajari is offline
Miembro
 
Registrado: nov 2012
Posts: 306
Reputación: 12
giulichajari Va por buen camino
ayuda

Cita:
Empezado por ecfisa Ver Mensaje
Si, así es. La expresión "conoce" los nombres de campos de la tabla, pero no el nombre que le diste al campo persistente.

Saludos
Bueno no se si esta bien asi:
total: sum(subtotal)
descuento: sum(subtotal) * sum(pdescuento/100)
total2: sum(subtotal) - sum(subtotal) * sum(pdescuento/100)
vuelto: sum(efectivo - (sum(subtotal) - sum(subtotal) * sum(pdescuento/100))

Me dice operation cannot mix aggregate value with record variyng value
Responder Con Cita