Answers for "creating a new table i sql through python"

SQL
10

creating tables in sql with python

import sqlite3
conn = sqlite3.connect('dbname')
c = conn.cursor()
c.execute('''CREATE TABLE songs (
    song text,
    artist text,
    year integer)''')
Posted by: Guest on March-11-2021

Code answers related to "creating a new table i sql through python"

Code answers related to "SQL"

Browse Popular Code Answers by Language