Ver originalSELECT SUM(f.Monto_Fact) AS Monto3 FROM Vendedores AS v,Facturas AS f, VendFact AS vf WHERE f.Num_Fact = vf.Num_Fact AND v.Cod_Vend = vf.Cod_Vend AND vf.Cod_Vend LIKE 'LEP' GROUP BY v.Cod_Vend;