Skip to content

Commit 9a7e9f6

Browse files
authored
Fix issue raised in #308
1 parent 0f0703c commit 9a7e9f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_episodes/09-working-with-sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ con = sqlite3.connect("data/portal_mammals.sqlite")
6666
cur = con.cursor()
6767
6868
# Return all results of query
69-
cur.execute('SELECT plot_id FROM sites WHERE site_type="Control"')
69+
SELECT plot_id FROM plots WHERE plot_type="Control"')
7070
cur.fetchall()
7171
7272
# Return first result of query

0 commit comments

Comments
 (0)