Database subqueries and paged queries

Source: Internet
Author: User

Two tables need to be established when creating a subquery

How to establish an association

The association needs to be associated after the table is created.

Right-click the table you want to associate, select design, and the design interface appears (bottom right)

Click Add, then click on table and column specifications, the "..." option appears, click to select

Open the interface such as, set the primary key table for Bumen in the Bcode foreign key table for Renyuan Bumen

Querying, subqueries, and paging queries

Paging Query

Determine the number of pages to be divided according to the existing information

After a relationship is established, the statement is automatically terminated if information other than the primary key is added

1009 is not in Bumen's Bcode column, so abort execution

Database subqueries and paged queries

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.