def union_sql(view_name, *tables):

    if not tables:
        raise Exception("no tables given")

    ret = ""
    pre = "CREATE VIEW %s AS SELECT * FROM " % view_name

    for table in tables:
        ret += pre + table
        pre = " UNION SELECT * FROM "

    return ret
getCellToolBar(row: int, col: int) -> QWidget
dataset/ETHPy150Open mpasternak/djorm-ext-filtered-contenttypes/filtered_contenttypes/utils.py/union_sql--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/vistrails/packages/spreadsheet/spreadsheet_tab.py/StandardWidgetSheetTabInterface.getCellToolBar