Removed extra character in sql.