Hallo,
1.First try to understand what RDBMS is. http://vip.hex.net/~cbbrowne/rdbms.html
Understand what Relationship is and why we use it?
Data is stored in different tables to minimize redundency. To have that there must be relationship between these tables. A relationship can be one-to-one, one-to-many and man-to-many.
The most common are one-to-many and one-to-one.
Let me consider one-to-many case.
table1 contains a field named ID as unique identifier of each record ,i.e, as a primary key. table2 contains ID as foreign key.
To get records from these two tables,
select * from table1, table2 where table1.ID = table2.ID;
Cheers;
Solomon