def get_sql_update_by_first_field(table: str,
                                  fieldlist: Sequence[str],
                                  delims: Tuple[str, str] = ("", "")) -> str:
    """Returns SQL for an UPDATE statement, to update all fields except the
    first field (PK) using the PK as the key."""
    return (
        "UPDATE " + delimit(table, delims) +
        " SET " +
        ",".join([delimit(x, delims) + "=?" for x in fieldlist[1:]]) +
        " WHERE " + delimit(fieldlist[0], delims) + "=?"
    )
def get_sql_update_by_first_field ( table : str , fieldlist : Sequence [ str ] , delims : Tuple [ str , str ] = ( "" , "" ) ) -> str : return ( "UPDATE " + delimit ( table , delims ) + " SET " + "," . join ( [ delimit ( x , delims ) + "=?" for x in fieldlist [ 1 : ] ] ) + " WHERE " + delimit ( fieldlist [ 0 ] , delims ) + "=?" )
Returns SQL for an UPDATE statement, to update all fields except the
    first field (PK) using the PK as the key.