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

Why do we use query to make relationship?

Status
Not open for further replies.

longmatch

Programmer
Nov 1, 2001
406
From Access database, I know we can even use query to establish relationship. what is the advantage to use query, instead of table, as component of relationship?

Haijun
 
The difference is that with a query, you can build your join in "either" direction, and use Inner and Outer Left and Right joins - whereas if you join two (or more) tables directly, you must set the type explicitly as just ONE variety.

They both have their justifications - it depends on what kind of data you want to get.

I usually join at the table level only for Lookup tables that I want to establish referential integrity for on the "many" side.



Remember, you're unique - just like everyone else
You're invited to visit another free Access forum:
or my site,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top