Ok so I have a test database, where I have a table of computer components, I have component_id as the pk, and for each component, name, type, and price as attributes.
In the systems table, I have system_model as the pk, and then for the attributes, I have ,processor, ram etc.
What I want to be able to do is type in a component id, and have the database automatically fill in the name of the component.
So for something like this I would need a one to many relationship right? One system_id can include many component id's? But when I drag system id to component id, it always says "one to one relationship", how can I chang it to one to one?
In the systems table, I have system_model as the pk, and then for the attributes, I have ,processor, ram etc.
What I want to be able to do is type in a component id, and have the database automatically fill in the name of the component.
So for something like this I would need a one to many relationship right? One system_id can include many component id's? But when I drag system id to component id, it always says "one to one relationship", how can I chang it to one to one?