![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
#10
|
||||
|
||||
|
Hola,
prueba esta consulta: SELECT distinct tb.orden, tb.bulto, tb.operacion, (select max(fecha_recepcion) from tabla t where t.operacion=tb.operacion),(select max(hora_recepcion) from tabla t where t.operacion=tb.operacion) from tabla tb Saludos
__________________
Más se perdió en la guerra... y volvieron cantando |
|
|
|