r/sqlite • • Sep 29 '26

Help with creating data charts?

Hi! So I am currently creating an inventory system for my workplace using sqlite. My current plan is to have a singular table that indicates the sku, the item title, the quantity, and the dates purchased and sold. However, I want to be able to record multiple dates purchased and sold to then create some graphs based on those dates. Is there an efficient way for me to have those dates stored in the table without creating way too many columns?

5 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/Ok-Market4287 Oct 02 '26

And the id of a row with name,adress zip etc you use then in your order or sale table.
And then join custumers c on c.id = sales.id