Rename functions about sql.