fix typos in sql