Fix typo in SQL