Exemple #1
0
def delete_table(table):
    sql_cursor.execute("DROP TABLE " + table)
    sql_cursor.commit()
Exemple #2
0
def get_table(table):
    sql_cursor.execute("SELECT * FROM " + table)
    return sql_cursor.fetchall()