Click to See Complete Forum and Search --> : Database > How to make relationship between tables ... using query


akrashdi
03-22-2004, 11:43 AM
How can I make relations between two tables using query? Tables are already there with data.

Actually I uploaded my SQL Server DB to a free server for testing purpose. Tables were uploaded successfully but the relationship between the tables were erased, I mean Primary key and Foriegn key. The problem is that the hosting people have only a web based panel working to update database and I have to use Query Commands to manage my DB.

Tables are already there, I just need to make relations (Primary & Foreign Keys) between these tables.


I hope I could make it a little bit clear.

Regards,
A.K.

buntine
03-22-2004, 11:45 AM
Look into the JOIN and INNER JOIN SQL keywords. You may find some helpful resources at www.w3schools.com

Regards.