def pids2sql(pids):
    """
    Convert list of pids to SQL sequence expression

    :param pids: list of person_id
    :return: str representation of SQL expression
    """
    str_pids = map(str, pids)
    return ', '.join(str_pids)