📜  如何删除表 sqlite - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:00.987000             🧑  作者: Mango

代码示例3
import sqlite3
db = "./db.sqlite3"
conn = sqlite3.connect(db)
conn.execute("DROP TABLE paintshop_category" )
conn.commit()
conn.close()
print('success')