Fix typos in SQL