You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-02 17:22:27 +03:00
33 lines
892 B
Plaintext
33 lines
892 B
Plaintext
# -------------------------------------------------------------- #
|
|
# Test case migrated from regression test suite: MCOL-2050.sql
|
|
#
|
|
# Author: Daniel Lee, daniel.lee@mariadb.com
|
|
# -------------------------------------------------------------- #
|
|
#
|
|
--source ../include/have_columnstore.inc
|
|
#
|
|
USE tpch1;
|
|
#
|
|
--disable_warnings
|
|
drop table if exists `football_teams`;
|
|
--enable_warnings
|
|
|
|
CREATE TABLE `football_teams` (
|
|
`num` int(11) DEFAULT NULL,
|
|
`name` varchar(32) DEFAULT NULL,
|
|
`roster_size` int(11) DEFAULT NULL
|
|
) ENGINE=Columnstore;
|
|
|
|
insert into football_teams VALUES (1,'Green Bay',53);
|
|
insert into football_teams VALUES (2,'Chicago',53);
|
|
insert into football_teams VALUES (3,'Detroit',53);
|
|
insert into football_teams VALUES (4,'Minnesota',53);
|
|
|
|
select * from (select num from football_teams order by num limit 3 offset 2) a;
|
|
|
|
--disable_warnings
|
|
drop table football_teams;
|
|
--enable_warnings
|
|
#
|
|
|