Get your
own Python
server
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
import sqlite3 con = sqlite3.connect("northwind.db") cur = con.cursor() cur.execute(""" SELECT CustomerName, City FROM Customers WHERE Country = 'UK' """) for row in cur.fetchall(): print(row) con.close()
('Around the Horn', 'London')
("B's Beverages", 'London')
('Consolidated Holdings', 'London')
('Eastern Connection', 'London')
('Island Trading', 'Cowes')
('North/South', 'London')
('Seven Seas Imports', 'London')