📜  在 sql python 中向表中添加数据 - SQL 代码示例

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

代码示例1
import sqlite3

conn = sqlite3.connect('songs.db')
c = conn.cursor()
c.execute('INSERT INTO songs VALUES("Alone Pt II", "Alan Walker & Ava Max", 2020)')
# here we have added Song to database