From 3e281b09e7288f6d83fe65a375468a7f130ab3b9 Mon Sep 17 00:00:00 2001 From: Kenneth M Date: Tue, 4 Aug 2015 10:52:46 -0400 Subject: [PATCH] Update README.md --- exercises/3-create-a-db-from-csv/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/exercises/3-create-a-db-from-csv/README.md b/exercises/3-create-a-db-from-csv/README.md index 37e4485..562dae9 100644 --- a/exercises/3-create-a-db-from-csv/README.md +++ b/exercises/3-create-a-db-from-csv/README.md @@ -30,8 +30,14 @@ PRIMARY KEY ('id') ``` To insert a row of data: ```py -c.execute("INSERT INTO users VALUES(?,?,?)", (name, account, balance)) +c.execute("INSERT INTO users(name, account, balance) VALUES(?,?,?)", (name, account, balance)) ``` +**Note: ** You must specify the columns names otherwise sqlite3 will default to all columns. + +```py + +``` + Sandbox! dir() and help() the cursor for all the methods possible. What does executemany do?