diff options
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | 2021-05-19 07:41:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-19 07:41:19 (GMT) |
commit | 92d1064727d6b7f4136f9c09ab52ae15e3676afe (patch) | |
tree | ae8bf88ce5406adf0d8fc2f0f64f8b20de077142 /Doc/includes/sqlite3/execsql_printall_1.py | |
parent | 901443757333a66ff2b5c85eba30dc1c48eac321 (diff) | |
download | cpython-92d1064727d6b7f4136f9c09ab52ae15e3676afe.zip cpython-92d1064727d6b7f4136f9c09ab52ae15e3676afe.tar.gz cpython-92d1064727d6b7f4136f9c09ab52ae15e3676afe.tar.bz2 |
bpo-44106: Improve sqlite3 example database contents (GH-26027)
Diffstat (limited to 'Doc/includes/sqlite3/execsql_printall_1.py')
-rw-r--r-- | Doc/includes/sqlite3/execsql_printall_1.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/includes/sqlite3/execsql_printall_1.py b/Doc/includes/sqlite3/execsql_printall_1.py index 19306e6..b3b42b5 100644 --- a/Doc/includes/sqlite3/execsql_printall_1.py +++ b/Doc/includes/sqlite3/execsql_printall_1.py @@ -7,7 +7,7 @@ con = sqlite3.connect("mydb") cur = con.cursor() # Execute the SELECT statement: -cur.execute("select * from people order by age") +cur.execute("select * from lang order by first_appeared") # Retrieve all rows as a sequence and print that sequence: print(cur.fetchall()) |