Questions about MySQL queries high score

Source: Internet
Author: User
Ask for questions about MySQL queries high scores
I. Structure of the data table:

1. Main Table Invoice:

Field: Invoicecode invoicedate partnercode Programcode ...

IN2007031001 2007-03-04 ICBC AA ...

IN2007031002 2007-03-05 ICBC BB ...

IN2007031003 2007-03-10 ICBC AA ...

...... ...... ...... ...... ......

2. Invoicelist from table one:

Field: Invoicecode ... Itembundlecode Qtytxn Price Amount

IN2007031001 ... IB2007020111 10 25.00 250.00

IN2007031001 ... IB2007020112 10 15.00 150.00

IN2007031001 ... IB2007020113 5 20.00 100.00

...... ...... ...... ...... ...... ......

IN2007031002 ... IB2007020111 8 5.00 40.00

IN2007031002 ... IB2007020112 7 6.00 42.00

IN2007031002 ... IB2007020113 14 10.00 140.00

...... ...... ...... ...... ...... ......

3. Invoiceuser from table two:

Field: Invoicecode ... Descrption QTY UnitPrice Amount
  • Related Article

    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.