sql--join query, aggregate function, window function

Source: Internet
Author: User
Tags one table

Connection Query

  • Inner JOIN, with the most, representing more than one table one by one corresponding

Aggregation functions

  • Manipulating row data, merging
  • Sum, AVG, COUNT, Max, min

Open Window function

  • Distributes the merged data to each row of the original table, which is the equivalent of a column that may be the sum of sums, or the value of the AVG average
  • can also be used with the ranking function

Grouping functions

  • To group A column, that is, to compress the data
  • Grouping keywords are often used in conjunction with aggregate functions to calculate the combined values of each group
  • After group BY, if it is multiple, the values of the multiple columns identified are divided into a single group

sql--join query, aggregate function, window function

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.