Fix: SQL queries must end with a semicolon