You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-11-25 20:23:16 +03:00
20 lines
689 B
Plaintext
20 lines
689 B
Plaintext
# -------------------------------------------------------------- #
|
|
# Test case migrated from regression test suite: bug3477.sql
|
|
#
|
|
# Author: Daniel Lee, daniel.lee@mariadb.com
|
|
# -------------------------------------------------------------- #
|
|
#
|
|
--source ../include/have_columnstore.inc
|
|
#
|
|
USE tpch1;
|
|
#
|
|
select p_size from part group by p_size order by count(*) desc limit 1;
|
|
select p_size, count(*) from part group by p_size order by count(*) desc limit 1;
|
|
select p_size, count(*) from part group by p_size order by 2 desc limit 1;
|
|
select p_size, count(*) from part group by 1 order by 2 desc limit 1;
|
|
select p_size, count(*) from part group by 1 order by sum(p_size) desc limit 1;
|
|
|
|
|
|
#
|
|
|