def region_where_clause(region_field: str, region_list: List[str], region_id_field: str, region_id_list: List[str], alias_field: Optional[str]=None) -> str:
    if ((not region_list) and (not region_id_list)):
        return '1=1'
    region_where = (list_to_where(region_field, region_list, lower=True) or '0=1')
    if alias_field:
        alias_where = (list_to_where(alias_field, region_list, lower=True) or '0=1')
    else:
        alias_where = '0=1'
    region_id_where = (list_to_where(region_id_field, region_id_list) or '0=1')
    return f'({region_where} OR {region_id_where} OR {alias_where})'
def region_where_clause(region_field: str, region_list: List[str], region_id_field: str, region_id_list: List[str], alias_field: Optional[str]=None) -> str:
    if ((not region_list) and (not region_id_list)):
        return '1=1'
    region_where = (list_to_where(region_field, region_list, lower=True) or '0=1')
    if alias_field:
        alias_where = (list_to_where(alias_field, region_list, lower=True) or '0=1')
    else:
        alias_where = '0=1'
    region_id_where = (list_to_where(region_id_field, region_id_list) or '0=1')
    return f'({region_where} OR {region_id_where} OR {alias_where})'