Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hola a Todos
Tengo dos tablas con un campo en común.
NI: // Contiene 546 Registros (PRINCIPAL)
LOAD
NROOT,
GRUPOOPERATIVO,
CODIGOTRABAJO,
CODIGOTRABAJODESCRIPCION,
NROSOLICITUDTICKET AS NUMDESOLICITUD,
NUMEROABONADOOT,
FECHACIERREOT;
SQL SELECT *
FROM NI;
LOAD // Contiene 4826 Registros (COMPLEMENTARIA)
Lote,
Tipo,
Cliente,
`Fecha_Cierre`,
Solicitud AS NUMDESOLICITUD ,
`1°Tecnico`;
SQL SELECT *
FROM `VTCHF-2017`;
La primera (principal), es de la cual obtengo la mayor información. La segunda tiene datos complementarios pero una mayor cantidad de registros.
Mi pregunta es como hacer para que el QV "solo" cargue los registros de la segunda tabla, que figuren en la primera.
Desde ya Muchas gracias.
LOAD // Contiene 4826 Registros (COMPLEMENTARIA)
Lote,
Tipo,
Cliente,
`Fecha_Cierre`,
Solicitud AS NUMDESOLICITUD ,
`1°Tecnico`
// this is to load the Solicitud of the second table already loaded in the first table
where
exists (NUMDESOLICITUD , Solicitud )
;
SQL SELECT *
FROM `VTCHF-2017`;
Gracias Massimo funciona muy bien. Saludos