Access uses query--1.2. To compute the grouped data with a select query _access

Source: Internet
Author: User

2. The calculation of grouped data with a select query

Create a Select query, add "fleet transport inquiries", and drag the "Driver, cargo category, net weight" field to the design grid. Click the Totals button on the toolbar

, the total row is added to the design grid. As shown in the figure of the driver and Cargo category column set to "Group by" (to remain unchanged), the Net weight column is set to "sum", meaning that the driver and the category of goods in the group to sum the total weight of the calculation. The resulting query effect is shown in the following table: queries grouped by driver and cargo category
Driver Cargo category Transport Total Li Dafang waste stone 170.00 Li Dafang fine powder 1715.40 Li Generous ore 13.50 Li generous other 310.00 king chic waste stone 18.50 King chic fine powder 922.30 King Natural and natural 15.90 King Natural and unrestrained other 21.30 Zhang Lovely stone 310.00 lovely fine powder 1601.90 Lovely ore 94.20 lovely other 340.00 Zhao beautiful waste stone 790.00 Zhao Beautiful fine powder 1537.40 Zhao Beautiful ore 21.60 Zhao beautiful other 420.00

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.