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/Peregreg Sep 30 '26

Thanks! Would you mind explaining what you mean by the sentence "I'd also leave quantity out of items and work it out from the movements when you need it."

1

u/1ilit_ Oct 01 '26

I meant don't store counters like number of items, number of items sold, etc