Python SQLite выберите, где

query = '''
ELECT * FROM trips
HERE duration > 9990;
''
un_query(query)
Korwin Bieniek