select idfacturasiat, fac.fecharegistro, fac.nombreRazonSocial,fac.MontoTotal from __elcorcho_venta ven right join __elcorcho_facturasiat fac on ven.IdFactura=fac.idfacturasiat where ven.idventa is null /* and month(fac.FechaRegistro)=4*/