3
# Create a connection to the database file "mydb":
4
con = sqlite3.connect("mydb")
6
# Get a Cursor object that operates in the context of Connection con:
9
# Execute the SELECT statement:
10
cur.execute("select * from people order by age")
12
# Retrieve all rows as a sequence and print that sequence: