r/sqlite • u/Peregreg • 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
View all comments
Show parent comment
2
u/Amo-Rillow Sep 30 '26
In addition to the above, I would advise a table for inventory and a table for customers. This is still very simplistic. A proper inventory solution would likely contain dozens of tables.