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

[((22, 43), 'sqlite3.connect', 'sqlite3.connect', (['"""db"""'], {}), "('db')\n", (37, 43), False, 'import sqlite3\n')]