Fix typo in init-script
Fix typo in SQL query