insert data into table sql python code example
Example: adding data to table in sql python
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