is it possible to make a reference to table "computer_bays" within table "computer_main" and make the two tables work together?
I want to create a series of tables for easier use. It may look something like this:
computer_main
name CHAR(20),
case_type CHAR(50),
motherboard CHAR(50),
processor CHAR(50),
bays [reference table computer_bays],
ram INT,
slots [reference table computer_slots],
computer_bays
IntBay1 CHAR(20),
IntBay2 CHAR(20),
ExtBay1 CHAR(20),
etc.
computer_slots
AGP1 CHAR(20),
AGP2 CHAR(20),
PCI1 CHAR(20),
PCI2 CHAR(20),
AGP1 CHAR(20),
AGP2 CHAR(20),etc.
How can I tell the "bays" field to get its values from the computer_bays table? Is it even possible? And of course, am I completely lost, going down the wrong path, headed for a steep cliff? I am trying to figure out all the data normalization stuff and not too sure about it.
Any help will be appreciated!