Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie question: relations

Status
Not open for further replies.

CCortez

Programmer
Sep 18, 2000
16
BR
I made a database (ADO) using Visual Data Manager (VB6) with 3 tables: clients (with address,city,etc.)and phones(with model, phonenumber, hexa, etc.) and devices (with phonenumber,version,etc). The field codeclient is the index (primary key), for tables clients and phones. And the field phonenumber is the index (primary key), for tables phones and devices. How can I to establish a relation between the 3 tables using SQL, to search for example all the phonenumber of a client, and all versions of a phonenumber?
Thank you, for any help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top