MySQL Multi-Aggregated Rows in Crosstab Queries

Posted on Internet.com See other posts from Internet.com
Published on Mon, 22 Feb 2010 05:00:00 +010 Indexed on 2010/03/07 23:12 UTC
Read the original article Hit count: 341

Filed under:
MySQL's crosstabs contain aggregate functions on two or more fields, presented in a tabular format. In a multi-aggregate crosstab query, two different functions can be applied to the same field or the same function can be applied to multiple fields on the same (row or column) axis. Rob Gravelle shows you how to apply two different functions to the same field in order to create grouping levels in the row axis.

© Internet.com or respective owner

MySQL Multi-Aggregated Rows in Crosstab Queries

Posted on Internet.com See other posts from Internet.com
Published on Mon, 22 Feb 2010 05:00:00 +010 Indexed on 2010/03/07 23:13 UTC
Read the original article Hit count: 341

Filed under:
MySQL's crosstabs contain aggregate functions on two or more fields, presented in a tabular format. In a multi-aggregate crosstab query, two different functions can be applied to the same field or the same function can be applied to multiple fields on the same (row or column) axis. Rob Gravelle shows you how to apply two different functions to the same field in order to create grouping levels in the row axis.

© Internet.com or respective owner