I am very new to sqlite3. I am looking for a simple way to search a Microsoft Access file (Called "lahman2016") in sqlite3 in Python. I am trying to search for items in the table called "Parks", but the output says that it is not recognizing it as a table in the access file.
Does anyone have any suggestions?
Thanks.
db = sqlite3.connect("lahman2016.db")
cursor = db.cursor()
cursor.execute('''SELECT parkname
FROM Parks
WHERE city = Toronto''')
And this is the error that was returned:
sqlite3.OperationalError: no such table: Parks