Hello,
If you have two tables and you want to link them together using a foreign key. One table is only going to have a limited number of rows, for example department but the other table called employees could have 1000s of rows.
If they where going to be linked, which would be the best way to link them and why? Or does it not make any difference?!!
6 rows: department ( dep_id, dep_name, dep_address, ..... , emp_id*)
1000s rows: employee ( emp_id, emp_name, emp_address, ..... )
6 rows: department ( dep_id, dep_name, dep_address, ..... )
1000s rows: employee ( emp_id, emp_name, emp_address, ..... , dep_id*)
Thanks,
newbie