Update python_sql.md

main
Matt Huntington 2 years ago committed by GitHub
parent db311d2dd1
commit b615631cdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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")

Loading…
Cancel
Save