from sqlite3 import *
from prettytable import printTable

with connect("schule.db") as con:
    cursor = con.cursor()
    sql = """DELETE FROM person 
             WHERE familienname = 'Bauer' and vorname = 'Paul'"""
    cursor.execute(sql)
    cursor.execute("SELECT familienname, vorname, wohnort FROM person")
    printTable(cursor)
