I have been creating a very basic database system using SQLite3 in python, and I am attempting to tabulate the data. The problem is I'm not entirely sure how I would go about importing the data and then tabulating said imported data.
At the moment, my file contains the following values, written in the sql code:
db_name = "Clients.db"
sql = """Create table Clients
(ClientID integer,
Forename text,
Surname text,
Company text,
Currency text,
eMail text,
Phone integer,
Date_Added text,
primary key(ClientID))"""
create_table(db_name,"Clients",sql)
This has successfully saved as a .db file which I can access and have successfully edited with other functions within my program. I can export the data into the .db file, however I have no idea how tabulate it once I run it back through the program. Any advice on getting this to work would be greatly appreciated.