I'm not looking for solution to any specific problem, but rather would theoretically need advice on how to handle previously unknown count of data (rows). Let's say I have a form divided into 3 categories (material, montage, minor budgetary costs). Each category can have any count of items and each item has an id, a name and a price. How should I store these data in MySQL database? Is it possible store it only to one table? Thank you for any suggestion and direction.
Quotation with some ID
*categ Material*
------------------------------
title ID Price
------------------------------
first item | 123 | 1 195.00
second item | 845 | 469.00
...
*categ Montage*
item | 461 | 146.00
item number 2 | 821 | 654.00
third item | 012 | 931.00
...
*categ MBC*
item | 642 | 2 135.00
...