I'm currently working with a project. Now the issue arises is, I have to handle dynamic columns in database table.
I've a table Charges, where amount of different charges corresponding to each Client will be stored. Suppose this table has the following columns-
Client_Id Charge_1 Charge_2 Charge_3 Charge_4
Now, the administrator can apply more new Charges for clients. In that case, new charges will be added to the Charges table as column. And this need to be handled in application run time not in database design time. This is my thought.
But, it doesn't look suitable to me.
Is there any better idea to handle this issue?? Please suggest me.
Thanks in advance. and I'm new with this database design.