Question
Multiple Ownerships
Let's say I have to connect single/multiple people to a
single/multiple logo (representing workmanship qualifications)
They are 'BAFTA' 'NVQ' 'GCSE' 'OLEVEL' 'DEGREE' etc - these will appear as images at the foot of the person's personal page...
DAVID has 'BAFTA' 'NVQ'
MARY has 'NVQ' 'GSCE' 'OLEVEL'
COLIN has 'DEGREE' 'NVQ'
This is what I have in my head, to show you my problem
So I create two tables PEOPLE and LOGOS and when inputting the data into MYSQLis where I hit a brick wall! Attach the people to the logo or the logo to the people? I think its better to input the peron's details and then have a dropdown menu of all the logos available and then input that. Or maybe a series of dynamic checkboxes that I can tick to indicate which logos the person has. But how does this work? Are they all stored in a single field on the database "person.logos" or do they need to have a single field for each logo "person.logos_01[BAFTA]" "person.logos_01[NVQ]" "person.logos_01[NULL]" etc etc ? And what would be the actual MYSQL code?
INSERT INTO person.logos ( 'BAFTA', 'NVQ' ,'GCSE', 'OLEVEL', 'DEGREE' ) can this be done?
Would MYSQL store the different values into the same field?
I'm sat here trying to work this out and would apreciate a little advice. I'm at the early stages of creating this database so I can change things accordingly.
Thanks
Hurst
They are 'BAFTA' 'NVQ' 'GCSE' 'OLEVEL' 'DEGREE' etc - these will appear as images at the foot of the person's personal page...
DAVID has 'BAFTA' 'NVQ'
MARY has 'NVQ' 'GSCE' 'OLEVEL'
COLIN has 'DEGREE' 'NVQ'
This is what I have in my head, to show you my problem
So I create two tables PEOPLE and LOGOS and when inputting the data into MYSQLis where I hit a brick wall! Attach the people to the logo or the logo to the people? I think its better to input the peron's details and then have a dropdown menu of all the logos available and then input that. Or maybe a series of dynamic checkboxes that I can tick to indicate which logos the person has. But how does this work? Are they all stored in a single field on the database "person.logos" or do they need to have a single field for each logo "person.logos_01[BAFTA]" "person.logos_01[NVQ]" "person.logos_01[NULL]" etc etc ? And what would be the actual MYSQL code?
INSERT INTO person.logos ( 'BAFTA', 'NVQ' ,'GCSE', 'OLEVEL', 'DEGREE' ) can this be done?
Would MYSQL store the different values into the same field?
I'm sat here trying to work this out and would apreciate a little advice. I'm at the early stages of creating this database so I can change things accordingly.
Thanks
Hurst