I have to design a database for a training system that our clients will use to provide trainings to their respective users. Initially for storing trainings data I thought I would use a table like this:
tbl_trainings
, actual training data would be multiple columns, here I've used training_data
to keep it short
training_id | training_data | client_code |
---|---|---|
1 | training name, dates, etc. | client_one |
2 | training name, dates, etc. | client_two |
Now, I think we might run into problems in future with this approach to visualize the data, Might not be true but that's how I feel.
Another approach I'm thinking of using is to split the tbl_training
for each individual client.
tbl_client_one_trainings
training_id | training_data |
---|---|
1 | training name, dates, etc. |
2 | training name, dates, etc. |
AND
training_id | training_data |
---|---|
1 | training name, dates, etc. |
2 | training name, dates, etc. |
Is it okay to split it like this? If not, what problems would I run into in future or even while developing? and Is there a simpler way to achieve this.