I have three tables:
Item { id, category_id, name, price} Category { id, subcategory_id, name } Subcategory {id, subcategory_id, name}
I want to sum all items in the specific subcategory only, how can I do it in eloquent?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community