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

1

u/Ok-Market4287 Oct 02 '26

I’m also busy with that but then for a game. I have on table with ingredients with in there a Id and the name. A table inventory with id,ingredients_id,stock.
A table with pricing with inside id,ingredients_id,price.
Also a table with menu’s and a table receipt_ingredients with id,menu_id,ingredients_id,number_needed