From b615631cdc17fd0810fe5f6261fa7ea0026436b2 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Wed, 25 Oct 2023 11:17:31 -0500 Subject: [PATCH] Update python_sql.md --- python_sql/lessons/python_sql.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_sql/lessons/python_sql.md b/python_sql/lessons/python_sql.md index 4fdfaf7..eae8aa7 100644 --- a/python_sql/lessons/python_sql.md +++ b/python_sql/lessons/python_sql.md @@ -116,7 +116,7 @@ cursor = connection.cursor() cursor.execute("CREATE TABLE people (name, age)") ``` -Very similar, except that `cur.execute` returns a result set that has the `fetchone`/`fetchall` functionality +Very similar, except that `cursor.execute` returns a result set that has the `fetchone`/`fetchall` functionality ```python result = cursor.execute("SELECT * FROM people")