Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
buen dia,
tengo la siguiente duda,
tengo una tabla en qvd que tiene la siguiente informacion
llave | codigo | valor$
Los codigos se repiten y quiero todos los valores totales segun el codigo, la idea es algo como esto, pero que realmente me funcione.:
tabla:
LOAD distinct(codigo) as cod,
sum(valor$) as total
FROM
archivo.qvd (qvd);
Gracias por su ayuda.
HI
Try like this
LOAD codigo,
sum (valor$) as Total
FROM
archivo.qvd (QVD) group by code;
Hope it helps
HI
Try like this
LOAD codigo,
sum (valor$) as Total
FROM
archivo.qvd (QVD) group by code;
Hope it helps
Thanks, excellent!!!