Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

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)''')
 
PREVIOUS NEXT
Tagged: #creating #tables #sql #python
ADD COMMENT
Topic
Name
1+9 =