Relationship between easy-to-use order data tables

Source: Internet
Author: User
The foreign key is not used in the easy-to-use database, but the table has a close relationship with the table. CodeThen, the following relationships are identified:
The query of orders is very disgusting during the migration, so you need to study it carefully. Source codeIt includes complex queries, and works completely by concatenating strings. Note that the foreign key relationship of each table needs to be maintained in the inverted data, because the easy-to-use foreign key does not exist, but it is just the definition of the field (it can be seen that it is quite disgusting ). Tables related to the order user. These tables are indispensable when they are inverted. The first table is the customer table, after reversing the table, you can inverted the contact table (which contains the association ID of the customer table), and then inverted the user table (which contains the contact information ), last inverted order table (with user and customer Associations)

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.