fixes in some .sql and Calificar Vendedor