Say I have a table lawareas
for areas of law, like:
ID Area
1 Children Law
2 EU law
3 Crime
And also lawyers, but each lawyer can be assigned multiple law areas, so the table is like
ID Name Areas
1 John 1,3
2 Bob 2,3
This is the way I am doing it now, but it seems wrong.
Is there a better way to structure this data?
I guess I could have a third table with relationships between the above 2 tables such as:
AreaID LawyerID
1 1
3 1
2 2
3 2
Which is better and why, the original option seems like less hassle to me in every way?