Lets say I have a football team table, where player names are tied to positions:
teamId: 1
goalkeeper: 'Marc'
position1: 'John'
position2: 'Erik'
...
But now I also want one attribute that represents the players NOT taking into account positions. I would create a new attribute teamString
serialising all players sorted alphabetically (this will ensure that different Teams
with same players will have the same teamString
attribute):
teamString: Eric-John-Mark[...]
Now I can filter Teams
with same players even if they play in different positions.
Will this new attribute teamString
be against 1NF principle?
Thanks in advance