Well it got me confused. I have a table that already have a Primary key let's say HouseID and we have other attributes. I will also have a Foriegn key refering to , say the owner so, I will add OwnerID to the table to refer to an owners id in another table , namely Owner. So then I can query for Houses owned by an owner using something like :
SELECT HouseID, HouseLocation FROM Owner,House WHERE Owner.OwnerID = House.OwnerID ;
........
Is there any special DLL code ?? or what cause I am getting confused.
I will appreciate any help,
Adel
SELECT HouseID, HouseLocation FROM Owner,House WHERE Owner.OwnerID = House.OwnerID ;
........
Is there any special DLL code ?? or what cause I am getting confused.
I will appreciate any help,
Adel