import sqlite3
import csv
                #here
with open('./tables/dependent.csv', newline='') as f:
    csv_reader = csv.DictReader(f)
    #change here
    dependent = [
        (row['Essn'], row['Dependent_name'], row['Sex'], row['Bdate'], row['Relationship'])
        for row in csv_reader
    ]


db = sqlite3.connect('enterprise.db')

with db:
    db.executemany(             
        'INSERT INTO DEPENDENT (Essn, Dependent_name, Sex, Bdate, Relationship) VALUES (?, ?, ?, ?, ?)',
        #change here
        dependent
    )
                        
c = db.execute('SELECT * FROM DEPENDENT')
for row in c:
    print(row)

24481a9b2c9660ceeee040a8c346d75734279662
<mask token>

<mask token>
with open('./tables/dependent.csv', newline='') as f:
    csv_reader = csv.DictReader(f)
    dependent = [(row['Essn'], row['Dependent_name'], row['Sex'], row[
        'Bdate'], row['Relationship']) for row in csv_reader]
<mask token>
with db:
    db.executemany(
        'INSERT INTO DEPENDENT (Essn, Dependent_name, Sex, Bdate, Relationship) VALUES (?, ?, ?, ?, ?)'
        , dependent)
<mask token>
for row in c:
    print(row)

<mask token>
with open('./tables/dependent.csv', newline='') as f:
    csv_reader = csv.DictReader(f)
    dependent = [(row['Essn'], row['Dependent_name'], row['Sex'], row[
        'Bdate'], row['Relationship']) for row in csv_reader]
db = sqlite3.connect('enterprise.db')
with db:
    db.executemany(
        'INSERT INTO DEPENDENT (Essn, Dependent_name, Sex, Bdate, Relationship) VALUES (?, ?, ?, ?, ?)'
        , dependent)
c = db.execute('SELECT * FROM DEPENDENT')
for row in c:
    print(row)

import sqlite3
import csv
with open('./tables/dependent.csv', newline='') as f:
    csv_reader = csv.DictReader(f)
    dependent = [(row['Essn'], row['Dependent_name'], row['Sex'], row[
        'Bdate'], row['Relationship']) for row in csv_reader]
db = sqlite3.connect('enterprise.db')
with db:
    db.executemany(
        'INSERT INTO DEPENDENT (Essn, Dependent_name, Sex, Bdate, Relationship) VALUES (?, ?, ?, ?, ?)'
        , dependent)
c = db.execute('SELECT * FROM DEPENDENT')
for row in c:
    print(row)

import sqlite3
import csv
                #here
with open('./tables/dependent.csv', newline='') as f:
    csv_reader = csv.DictReader(f)
    #change here
    dependent = [
        (row['Essn'], row['Dependent_name'], row['Sex'], row['Bdate'], row['Relationship'])
        for row in csv_reader
    ]


db = sqlite3.connect('enterprise.db')

with db:
    db.executemany(             
        'INSERT INTO DEPENDENT (Essn, Dependent_name, Sex, Bdate, Relationship) VALUES (?, ?, ?, ?, ?)',
        #change here
        dependent
    )
                        
c = db.execute('SELECT * FROM DEPENDENT')
for row in c:
    print(row)
