How to automatically establish a table's join expression in Access

Source: Internet
Author: User
Tags expression join joins query table name
Access connections can generate a meaningful view or SQL virtual set with the following connections:
Inner JOIN (natural connection): Only rows matching two tables can appear in the result set
Outer joins: include left outer joins (the table on the left is unrestricted), the right outer join (the table on the right is unrestricted), all outer joins (both tables are unrestricted), since the connection (the connection takes place in a base table)
Access provides a simple connection expression generation tool----query. How TO:
Go to query, select Use Wizard to create a query, select the fields that you want to appear in the result set (which can come from multiple base tables), and press Finish. In the menu view--SQL view, you can see an inline join expression that is automatically generated.
Such as:
SELECT [Types]. [Type], [URLs]. [Name], [URLs]. [URL] From Types INNER JOIN URL on [Types]. [typeID] =[urls]. [typeID]
Note: The base table name and field names need to be preceded by a "[]" number.
Body

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.