summaryrefslogtreecommitdiffstats
path: root/Doc/includes/sqlite3/execsql_printall_1.py
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/includes/sqlite3/execsql_printall_1.py')
-rw-r--r--Doc/includes/sqlite3/execsql_printall_1.py2
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())