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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrive data from the different database.

Status
Not open for further replies.

jung1975

MIS
Apr 16, 2002
5
US
Hello!

I have a three different database that include same data set but in different column name. For example, I have database called "A" that contain doctor's name in doctor's name column and have database called "B" that contain doctor's name in member's column, and also have database "C" that contain doctor's name in medical professional's column. I woluld like to write SQL statement that can compare "A" with "B" and "A" with "C".
For example, If the doctor's name in "A" are also in "B" as a member's name and if it's 80% same(if 8 out of 10 doctor's name in "A" are in "B"), then need populate those doctor's name. compare "A" with "C" will use the same way as compare "A" with "B". Any tips will be appreciated it

Thanks
John
 
John, this is why Codd invented Relational DBs...

Link your other tables in to one of the databases. Use JOINS between DOCTORNAME and MEMBERNAME and MEDICALPROFESSIONAL to see who's where in what table...

There's a FAQ on joins in the Tables & Relationships forum...ahem...



There are two ways to argue with a woman - neither one works.
Another free Access forum:
More Access stuff at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top