import sqlite3
conn = sqlite3.connect("db")
cur = conn.cursor()
cur.execute("select * from CAR_ID limit 5;")
results = cur.fetchall()
print(results)

[((2, 7, 2, 28), 'sqlite3.connect', 'sqlite3.connect', ({(2, 23, 2, 27): '"""db"""'}, {}), "('db')", False, 'import sqlite3\n')]