Psst.. new poll here.
[email protected] web/email now available. Want one? Go here.
Cannot use outlook/hotmail/live here to register as they blocking our mail servers. #microsoftdeez
Obey the Epel!
Paste
Pasted as SQL by obalcazar ( 8 months ago )
SELECT D.Numero_Documento_Desc RUC
, A.Dni_Desc DNI
, A.Telefono_Desc CELULAR
, B.Email_Desc CORREO
FROM E_DW_VIEWS.V_MST_VPC_CIMA_USER A
LEFT JOIN E_DW_VIEWS.V_MST_VPC_CIMA_ACCOUNT B ON A.Usuario_Id=B.Usuario_Id
LEFT JOIN E_DW_VIEWS.V_MST_VPC_CIMA_ACCOUNT_BNESS C ON B.Cuenta_Id=C.Cuenta_Id
LEFT JOIN E_DW_VIEWS.V_MST_VPC_CIMA_BUSINESS D ON D.Negocio_Id=C.Negocio_Id
LEFT JOIN E_DW_VIEWS.V_MST_VPC_CIMA_CATALOG E ON E.Negocio_Id=D.Negocio_Id
LEFT JOIN E_DW_VIEWS.V_MST_VPC_CIMA_CATALOG_ITEM F ON E.Catalogo_Id=F.Catologo_Id
LEFT JOIN E_DW_VIEWS.V_MST_VPC_CIMA_OFFER G ON F.Catologo_Item_Id=G.Catologo_Item_Id
LEFT JOIN E_DW_VIEWS.V_MST_VPC_CIMA_PRODUCT H ON F.Producto_Id=H.Producto_Id
WHERE H.Codigo_Producto_Cd IN ('VENDEMAS','IZIPAY')
AND G.Estado_Desc='OFFERED'
AND G.Fecha_Aceptacion_Dt IS NULL
Revise this Paste
Parent: 127562