Is it possible/good practice to have relationships from 2 seperate fields within one table to a single field within another?
Eg
TableUsers
UserId / UserName / User Type
data...
1 / TheCompanyLtd / Developer
2 / TheOtherLtd / Client
3 / Company215Ltd / Client
TableSites
SiteId / SiteName / DeveloperId / ClientId
data...
1 / Site1 / 1 / 2
1 / Site2 / 1 / 2
I don't want to maintain multiple tables of different users if I can help it - redundancy and all that...Hope this makes sense.
Regards
CraigBFG
Eg
TableUsers
UserId / UserName / User Type
data...
1 / TheCompanyLtd / Developer
2 / TheOtherLtd / Client
3 / Company215Ltd / Client
TableSites
SiteId / SiteName / DeveloperId / ClientId
data...
1 / Site1 / 1 / 2
1 / Site2 / 1 / 2
I don't want to maintain multiple tables of different users if I can help it - redundancy and all that...Hope this makes sense.
Regards
CraigBFG