
04/10/2011, 11:04
|
 | | | Fecha de Ingreso: julio-2011 Ubicación: Coahuila
Mensajes: 320
Antigüedad: 13 años, 8 meses Puntos: 8 | |
Respuesta: phpmysql no imprimir registros iguales "SELECT DISTINCT operacion,operacion_descripcion ,numero_de_parte, cantidad from produccion where numero_de_empleado = '$OPERADORR' and fecha = '$BUSFECHA' ORDER BY operacion ASC "
asi funciona bien pero quisiera sumar el campo cantidad ejemplo
valor1 122
valor1 122
valor2 122
valor2 122
lo quisiera asi
valor1 244
valor2 244 |